Share via


PointCardRW.TracksToWrite Property

The tracks to write to the Point Card.

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

Usage

'Usage
Dim pointCardRW1 As PointCardRW

Dim returnValue As PointCardRWTracks
returnValue = pointCardRW1.TracksToWrite

Dim sampleValue As PointCardRWTracks
pointCardRW1.TracksToWrite = sampleValue

Syntax

'Declaration
Public MustOverride Property TracksToWrite() As PointCardRWTracks
public abstract PointCardRWTracks TracksToWrite {get; set;}
public: property virtual PointCardRWTracks^ TracksToWrite{
    PointCardRWTracks^ get();
    Void set(PointCardRWTracks^);
}
public abstract PointCardRWTracks get_TracksToWrite();
public abstract void set_TracksToWrite(PointCardRWTracks);
public abstract function get TracksToWrite() : PointCardRWTracks;
public abstract function set TracksToWrite(PointCardRWTracks);

Remarks

It contains a bit-wise OR of the constants Track1 through Track6. It can contain only values that are marked as allowable by the CapTracksToWrite property. For example, to write to tracks 1, 2, and 3, TracksToWrite would be set to Track1 | Track2 | Track3.

TracksToWrite is typically initialized by the service object to the default tracks to write.

Accessing TracksToWrite can throw the following exception:

Value

Meaning

Busy

This operation cannot be performed because asynchronous output is in progress.

Illegal

An illegal track was defined. The Track is not available for writing. Refer to CapTracksToWrite.

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
CapTracksToWrite
PrintWrite