PointCardRW.CardState Property

Indicates the point card state.

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Usage

'Usage
Dim pointCardRW1 As PointCardRW

Dim returnValue As PointCardState
returnValue = pointCardRW1.CardState

Syntax

'Declaration
Public MustOverride ReadOnly Property CardState() As PointCardState
public abstract PointCardState CardState {get;}
public: property virtual PointCardState^ CardState{
    PointCardState^ get();
}
public abstract PointCardState get_CardState();
public abstract function get CardState() : PointCardState;

Remarks

If the CapCardEntranceSensor property is TRUE, the current card entrance sensor status is stored in CardState.

NoCard is always set when the CapCardEntranceSensor property is FALSE.

CardState is typically initialized to NoCard. It should then be kept current by the service object while the device is enabled.

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

PointCardRW Class
PointCardRW Members
Microsoft.PointOfService Namespace
CapCardEntranceSensor