Adds a primitive data object with the given tag and data to the end of this data object list.

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

Public Sub Add( _ 
ByVal nTag As Integer, _ 
ByVal vbValue As Byte() _ 
)
This language is not supported or no code example is available.
public void Add( 
int nTag
byte[] vbValue 
)
This language is not supported or no code example is available.
public:  
void Add( 
int nTag
array< Byte >^ vbValue 
)
This language is not supported or no code example is available.
public function Add( 
nTag : int
vbValue : byte[] 
);
This language is not supported or no code example is available.

Parameters

nTag
Type: int

Complete tag. This must not be the special zero tag. This must be in the range from 1 through 16777215 (0xFFFFFF). If the data object shall be encoded using SIMPLE-TLV encoding rules, then the tag must be in the range from 1 through 254.

vbValue
Type: byte[]

Complete value data. May be null if this shall be an empty data object. The new CardDataObject will not copy that array, but assumes logical ownership of the passed array reference. This array must be bigger than 65535 bytes.

Marc, 9/29/2022.

.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