共用方式為


ClassificationSpan.Span Property

Gets the snapshot span of the classified text.

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

Syntax

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

Property Value

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

.NET Framework Security

See Also

Reference

ClassificationSpan Class

Microsoft.VisualStudio.Text.Classification Namespace