Return a string formatted as OID value of the passed integer array starting at array item startpos.
Namespace:
SnmpSharpNetAssembly: SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.5.2.0 (0.5.2.0)
Syntax
| C# |
|---|
public static string ToString( int[] vals, int startpos ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function ToString ( _ vals As Integer(), _ startpos As Integer _ ) As String |
| Visual C++ |
|---|
public: static String^ ToString( array<int>^ vals, int startpos ) |
Parameters
- vals
- Type: array<
System..::.Int32
>[]()[]
Array of integers
- startpos
- Type: System..::.Int32
Start position in the array. 0 based.
Return Value
String formatted OID
Exceptions
| Exception | Condition |
|---|---|
| System..::.IndexOutOfRangeException | Thrown when start position is outside of the bounds of the available data. |