共用方式為


SnapshotSpanEventArgs.Span Property

Gets the SnapshotSpan.

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

Syntax

'宣告
Public Property Span As SnapshotSpan
public SnapshotSpan Span { get; private set; }
public:
property SnapshotSpan Span {
    SnapshotSpan get ();
    private: void set (SnapshotSpan value);
}
member Span : SnapshotSpan with get, private set
function get Span () : SnapshotSpan
private function set Span (value : SnapshotSpan)

Property Value

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

.NET Framework Security

See Also

Reference

SnapshotSpanEventArgs Class

Microsoft.VisualStudio.Text Namespace