PosCommon.State Property
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Usage
'Usage
Dim posCommon1 As PosCommon
Dim returnValue As ControlState
returnValue = posCommon1.State
Syntax
'Declaration
Public MustOverride ReadOnly Property State() As ControlState
public abstract ControlState State {get;}
public: property virtual ControlState^ State{
ControlState^ get();
}
public abstract ControlState get_State();
public abstract function get State() : ControlState;
Remarks
Contains the current state of the device. Possible values are defined by the ControlState enumeration.
State is set to ControlState.Idle by the Open method and is always readable, regardless of the state of the device. Changes in State cause POS for .NET to queue a StateChangedEvent event.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000
Target Platforms
See Also
Reference
PosCommon Class
PosCommon Members
Microsoft.PointOfService Namespace