Indexed access to the OctetString class data members.
CopyC#
Namespace: SnmpSharpNetOctetString os = new OctetString("test"); for(int i = 0;i < os.Length;i++) { Console.WriteLine("{0}",os[i]); }
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 position of the data value to access