VirtualSnapshotPoint Constructor (SnapshotPoint)
Initializes a new instance of a VirtualSnapshotPoint at the specified position, with zero virtual spaces.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Syntax
'Declaración
Public Sub New ( _
position As SnapshotPoint _
)
public VirtualSnapshotPoint(
SnapshotPoint position
)
public:
VirtualSnapshotPoint(
SnapshotPoint position
)
new :
position:SnapshotPoint -> VirtualSnapshotPoint
public function VirtualSnapshotPoint(
position : SnapshotPoint
)
Parameters
- position
Type: Microsoft.VisualStudio.Text.SnapshotPoint
The position the point in the snapshot.
.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.