Subtraction operator
Namespace: SnmpSharpNetAssembly: SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.9.1.0 (0.9.1)
Syntax
| C# |
|---|
public static Integer32 operator -( Integer32 first, Integer32 second ) |
| Visual Basic |
|---|
Public Shared Operator - ( _ first As Integer32, _ second As Integer32 _ ) As Integer32 |
| Visual C++ |
|---|
public: static Integer32^ operator -( Integer32^ first, Integer32^ second ) |
Parameters
- first
- Type: SnmpSharpNet..::..Integer32
First Integer32 object
- second
- Type: SnmpSharpNet..::..Integer32
Second Integer32 object
Return Value
New object with subtracted values of the 2 parameter objects. If both parameters are null references then null is returned. If either of the two parameters is null, the non-null objects value is set as the value of the new object and returned.
Remarks
Subtract the value of the second Integer32 class value from the first Integer32 class value.
Values of the two objects are subtracted and a new class is instantiated with the result.
Original values of the two parameter classes are preserved.