Addition operator.

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

Syntax

C#
public static Counter64 operator +(
	Counter64 first,
	Counter64 second
)
Visual Basic
Public Shared Operator + ( _
	first As Counter64, _
	second As Counter64 _
) As Counter64
Visual C++
public:
static Counter64^ operator +(
	Counter64^ first, 
	Counter64^ second
)

Parameters

first
Type: SnmpSharpNet..::..Counter64
First Counter64 object
second
Type: SnmpSharpNet..::..Counter64
Second Counter64 object

Return Value

New object with values of the 2 parameter objects added. 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

Add two Counter64 object values. Values of the two objects are added and a new class is instantiated with the result. Original values of the two parameter classes are preserved.

See Also