VirtualSnapshotSpan Constructor (SnapshotSpan)
Initializes a new instance of a VirtualSnapshotSpan in the specified snapshot span, with no virtual spaces.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Syntax
'Declaration
Public Sub New ( _
snapshotSpan As SnapshotSpan _
)
public VirtualSnapshotSpan(
SnapshotSpan snapshotSpan
)
public:
VirtualSnapshotSpan(
SnapshotSpan snapshotSpan
)
new :
snapshotSpan:SnapshotSpan -> VirtualSnapshotSpan
public function VirtualSnapshotSpan(
snapshotSpan : SnapshotSpan
)
Parameters
snapshotSpan
Type: Microsoft.VisualStudio.Text.SnapshotSpanA snapshot span.
.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.