Share via


Msr.FirstName Property

2/27/2008

Holds the first name from the most recently swiped card.

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

Syntax

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

Remarks

FirstName 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 FirstName 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
ParseDecodeData
Track1Data
Track2Data