Index operator. Index access to the underlying byte array

Namespace: SnmpSharpNet
Assembly: SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.9.1.0 (0.9.1)

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);
}

Parameters

index
Type: System..::..Int32
Index to access

Return Value

byte array value

Exceptions

ExceptionCondition
System..::..ArgumentOutOfRangeExceptionThrown if requested byte index is outside the size of the internal byte array

See Also