Get sub-array
Namespace: SnmpSharpNetAssembly: SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.9.1.0 (0.9.1)
Syntax
| C# |
|---|
public MutableByte Get( int position, int length ) |
| Visual Basic |
|---|
Public Function Get ( _ position As Integer, _ length As Integer _ ) As MutableByte |
| Visual C++ |
|---|
public: MutableByte^ Get( int position, int length ) |
Parameters
- position
- Type: System..::..Int32
Start of the sub-array. Zero based.
- length
- Type: System..::..Int32
Count of bytes to copy
Return Value
MutableByte array containing the sub-array.
Exceptions
| Exception | Condition |
|---|---|
| System..::..OverflowException | Thrown when position starts before the beginning of the array (position is less then 0) or position + length is greater then the length of the byte array contained in the object. |