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
Get
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.