共用方式為


VirtualSnapshotSpan.SnapshotSpan Property

Gets the non-virtual snapshot span to which this span corresponds.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

Syntax

'宣告
Public ReadOnly Property SnapshotSpan As SnapshotSpan
public SnapshotSpan SnapshotSpan { get; }
public:
property SnapshotSpan SnapshotSpan {
    SnapshotSpan get ();
}
member SnapshotSpan : SnapshotSpan
function get SnapshotSpan () : SnapshotSpan

Property Value

Type: Microsoft.VisualStudio.Text.SnapshotSpan
The snapshot span.

.NET Framework Security

See Also

Reference

VirtualSnapshotSpan Structure

Microsoft.VisualStudio.Text Namespace