Msr.ServiceCode Property
2/27/2008
Holds the service code from the most recently swiped card.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Syntax
'Declaration
Public MustOverride ReadOnly Property ServiceCode As String
public abstract string ServiceCode { get; }
public:
virtual property String^ ServiceCode {
String^ get () abstract;
}
/** @property */
public abstract String get_ServiceCode ()
public abstract function get ServiceCode () : String
Remarks
ServiceCode is set to an empty string under the following conditions:
The field was not included in the track data read; or
The ParseDecodeData property is set to true, but ServiceCode is not included in the separated fields of the Track1Data or Track2Data properties; or
ParseDecodeData is set to false.
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.ParseDecodeData Property
Track1Data
Track2Data