Msr.TracksToWrite Property
2/27/2008
Specifies which MSR tracks will be written when the WriteTracks method is called and an MSR card swiped.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Syntax
'Declaration
Public Overridable Property TracksToWrite As MsrTracks
public virtual MsrTracks TracksToWrite { get; set; }
public:
virtual property MsrTracks TracksToWrite {
MsrTracks get ();
void set (MsrTracks value);
}
/** @property */
public MsrTracks get_TracksToWrite ()
/** @property */
public void set_TracksToWrite (MsrTracks value)
public function get TracksToWrite () : MsrTracks
public function set TracksToWrite (value : MsrTracks)
Remarks
The contents of the TracksToWrite property can be specified using the MsrTracks enumeration. Only values which are equal to, or a subset of the CapWritableTracks property are valid.
If CapWritableTracks is set to MsrTracks.None then writing to this MSR device is not supported and attempting to set this property will throw an exception.
Setting this property may also update the EncodingMaxLength property since each track may have a different encoding limit.
This property is set to MsrTracks.None by default during the Open method.
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.
See Also
Reference
Msr Class
Msr Members
Microsoft.PointOfService Namespace
Msr.TracksToWrite Property
Msr.EncodingMaxLength Property
MsrTracks
Msr.CapWritableTracks Property