Index operator. Index access to the underlying byte array

Namespace:  SnmpSharpNet
Assembly:  SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.5.2.0 (0.5.2.0)

Syntax

C#
public byte this[
	int index
] { get; set; }
Visual Basic (Declaration)
Public Default Property Item ( _
	index As Integer _
) As Byte
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