Share via


Port Members

The following tables list the members exposed by the Port type.

Public Constructors

Name Description
Public Method Port Overloaded. Initializes a new instance of the Port class.

Protected Fields

Name Description
Protected Field m_callbacks (Inherited from NativeEventDispatcher.)
Protected Field m_disposed (Inherited from NativeEventDispatcher.)
Protected Field m_threadSpawn (Inherited from NativeEventDispatcher.)

Public Properties

Name Description
Public Property Id Gets the indentifier (ID) for a port.

Public Methods

Name Description
Public Method DisableInterrupt (Inherited from NativeEventDispatcher.)
Public Method Dispose Disables the pin for a port and marks it as available for reuse.
Public Method Static Dispose Overloaded. Releases resources used by this Port object.
Public Method EnableInterrupt (Inherited from NativeEventDispatcher.)
Public Method Equals (Inherited from Object.)
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method Read Reads a Boolean value at the port input.
Public Method ReferenceEquals (Inherited from Object.)
Public Method Static ReservePin Reserves or releases a specified port pin.
Public Method ToString (Inherited from Object.)

Protected Methods

Name Description
Protected Method Finalize (Inherited from NativeEventDispatcher.)
Protected Method MemberwiseClone (Inherited from Object.)

Public Events

Name Description
Public Event OnInterrupt (Inherited from NativeEventDispatcher.)

See Also

Reference

Port Class
Microsoft.SPOT.Hardware Namespace