Share via


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

.NET Framework Security

See Also

Reference

VirtualSnapshotSpan Structure

VirtualSnapshotSpan Overload

Microsoft.VisualStudio.Text Namespace