Share via


Msr.Surname Property

2/27/2008

Holds the surname from the most recently swiped card.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property Surname As String
public abstract string Surname { get; }
public:
virtual property String^ Surname {
    String^ get () abstract;
}
/** @property */
public abstract String get_Surname ()
public abstract function get Surname () : String

Remarks

Surname 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 Surname 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