다음을 통해 공유


SnapshotPoint.Addition Operator

Increments the position of a snapshot point.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

‘선언
Public Shared Operator + ( _
    point As SnapshotPoint, _
    offset As Integer _
) As SnapshotPoint
public static SnapshotPoint operator +(
    SnapshotPoint point,
    int offset
)
public:
static SnapshotPoint operator +(
    SnapshotPoint point, 
    int offset
)
static let inline (+)
        point:SnapshotPoint * 
        offset:int  : SnapshotPoint
JScript does not support overloaded operators.

Parameters

Return Value

Type: Microsoft.VisualStudio.Text.SnapshotPoint
The incremented snapshot point.

Exceptions

Exception Condition
ArgumentOutOfRangeException

The new point is less than zero or greater than Snapshot.Length.

Remarks

The SnapshotPoint.

.NET Framework Security

See Also

Reference

SnapshotPoint Structure

Microsoft.VisualStudio.Text Namespace