Share via


PointCardRW.Write2Data Property

Data PrintWrite uses to write to Track2.

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

Usage

'Usage
Dim pointCardRW1 As PointCardRW

Dim returnValue As Byte
returnValue = pointCardRW1.Write2Data

Dim sampleValue As Byte
pointCardRW1.Write2Data = sampleValue

Syntax

'Declaration
Public MustOverride Property Write2Data() As Byte()
public abstract byte[] Write2Data {get; set;}
public: property virtual array<Byte>^ Write2Data{
    array<Byte>^ get();
    Void set(array<Byte>^);
}
public abstract ubyte[] get_Write2Data();
public abstract void set_Write2Data(ubyte[]);
public abstract function get Write2Data() : Byte[];
public abstract function set Write2Data(Byte[]);

Remarks

The PrintWrite method writes this data in track 2 of a point card.

Write2Data contains track data between, but not including, the start and end sentinels.

Write2Data is typically initialized to 0. 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