Access content of this byte buffer.

Namespace: BasicCard
Assembly: BasicCard (in BasicCard.dll) Version: 2.5.2.0 (2.5.2.0)

Syntax

C#
public byte this[
	int index
] { get; set; }
Visual Basic
Public Default Property Item ( 
	index As Integer
) As Byte
	Get
	Set
Visual C++
public:
property unsigned char default[int index] {
	unsigned char get (int index);
	void set (int index, unsigned char value);
}
F#
member Item : byte with get, set

Parameters

index
Type: System..::..Int32

Property Value

Type: Byte

Remarks

If index is above current length when setting this property, then unused bytes are set to 0, value is appended at specified position and length is increased.

Exceptions

ExceptionCondition
System..::..ArgumentOutOfRangeExceptionIf index is out of bounds (get) or exceeds capacity (set).

See Also