Compartilhar 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

'Declaração
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

.NET Framework Security

See Also

Reference

SnapshotPoint Structure

Microsoft.VisualStudio.Text Namespace