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
'Declaração
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
- snapshot
Type: Microsoft.VisualStudio.Text.ITextSnapshot
The snapshot to use.
- position
Type: System.Int32
The position of the snapshot point.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.