Freigeben über


VirtualSnapshotPoint Constructor (ITextSnapshot, Int32)

Initializes a new instance of a VirtualSnapshotPoint at the specified position in the specified snapshot, with zero virtual spaces.

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

Syntax

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

Parameters

  • position
    Type: System.Int32
    The position of the snapshot point.

.NET Framework Security

See Also

Reference

VirtualSnapshotPoint Structure

VirtualSnapshotPoint Overload

Microsoft.VisualStudio.Text Namespace