共用方式為


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

'宣告
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