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.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 position of the data value to access