Return a string formatted as OID value of the passed integer array starting at array item startpos.

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

Syntax

C#
public static string ToString(
	int[] vals,
	int startpos
)
Visual Basic
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

ExceptionCondition
System..::..IndexOutOfRangeExceptionThrown when start position is outside of the bounds of the available data.

See Also