| SampleClassAddition Operator |
Addition operator overload
Namespace: XMLCommentsExamplesAssembly: XMLCommentsExamples (in XMLCommentsExamples.dll) Version: 2014.1.26.0
Syntax public static SampleClass operator +(
SampleClass left,
SampleClass right
)
Public Shared Operator + (
left As SampleClass,
right As SampleClass
) As SampleClass
public:
static SampleClass^ operator +(
SampleClass^ left,
SampleClass^ right
)
static let inline (+)
left : SampleClass *
right : SampleClass : SampleClass
Parameters
- left
- Type: XMLCommentsExamplesSampleClass
The left value - right
- Type: XMLCommentsExamplesSampleClass
The right value
Return Value
Type:
SampleClassA new instance containing the sum of the left and right
sample numbers
See Also