Sample ClassIncrement Method
The Increment method increments the stored number by one
Definition
Namespace: XMLCommentsExamples
Assembly: XMLCommentsExamples (in XMLCommentsExamples.dll) Version: 2025.4.26.0
The new sample number after being incremented
Assembly: XMLCommentsExamples (in XMLCommentsExamples.dll) Version: 2025.4.26.0
C#
public int Increment()VB
Public Function Increment As IntegerC++
public:
int Increment()F#
member Increment : unit -> int Return Value
Int32The new sample number after being incremented