Pin in P1 as InputPort on G120

Hi

I want to ask. if it is posible to use pin P1.X as Input port on module G120. When i try use it as Microsoft.SPOT.Hardware.InputPort I get an Argulent Exception.

thanks for reply.

Please show us some code