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
'Декларация
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
- snapshot
Type: Microsoft.VisualStudio.Text.ITextSnapshot
The ITextSnapshot.
- position
Type: System.Int32
The position of the 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.