Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
snapshot
Type: Microsoft.VisualStudio.Text.ITextSnapshotThe snapshot to use.
position
Type: System.Int32The 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.