Parse an Integer32 value from a string.
Namespace:
SnmpSharpNetAssembly: SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.5.2.0 (0.5.2.0)
Syntax
| C# |
|---|
public void Set( string value ) |
| Visual Basic (Declaration) |
|---|
Public Sub Set ( _ value As String _ ) |
| Visual C++ |
|---|
public: void Set( String^ value ) |
Parameters
- value
- Type: System..::.String
String containing an Integer32 value
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentOutOfRangeException | Argument string is length == 0 |
| System..::.ArgumentException | Unable to parse Integer32 value from the argument. |