Delen via


SnapshotPoint Constructor

Initializes a new instance of a SnapshotPoint with respect to a particular snapshot and position.

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

Syntax

'Declaration
Public Sub New ( _
    snapshot As ITextSnapshot, _
    position As Integer _
)
public SnapshotPoint(
    ITextSnapshot snapshot,
    int position
)
public:
SnapshotPoint(
    ITextSnapshot^ snapshot, 
    int position
)
new : 
        snapshot:ITextSnapshot * 
        position:int -> SnapshotPoint
public function SnapshotPoint(
    snapshot : ITextSnapshot, 
    position : int
)

Parameters

  • position
    Type: Int32

    The position of the point.

.NET Framework Security

See Also

Reference

SnapshotPoint Structure

Microsoft.VisualStudio.Text Namespace