Provides access to the tag of this data object.

Namespace: CardWerk.SmartCard
Assembly: CardWerk.SmartCard (in CardWerk.SmartCard.dll)

Public Property Tag() As Integer
This language is not supported or no code example is available.
public int Tag {get; set;}
This language is not supported or no code example is available.
public:  
property int Tag { 
int get( ); 
void set( 
int value 
); 
}
This language is not supported or no code example is available.
public function get Tag() : int
public function set Tag(value : int);
This language is not supported or no code example is available.

Property Value

Type: int

The Tag value must be in the range from 1 through 0xFFFFFF. An attempt to set any other value will throw an exception.

Exception type Condition

ArgumentOutOfRangeException

Thrown when one or more arguments are outside the required range.

Not all Tag values that can be stored in this property can be encoded with all supported CardDataObjectEncoding schemes. For example, when using CardDataObjectEncoding.Simple encoding, the Tag value must be in the range from 0x01 through 0xFE.

.NET Framework

Supported in: 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

.NET Core

Supported in: 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0

.NET Standard

Supported in: 2.0