次の方法で共有


TagSpan<T>.Span Property

Gets the snapshot span for this tag.

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

Syntax

'宣言
Public Property Span As SnapshotSpan
public SnapshotSpan Span { get; private set; }
public:
virtual property SnapshotSpan Span {
    SnapshotSpan get () sealed;
    private: void set (SnapshotSpan value) sealed;
}
abstract Span : SnapshotSpan with get, private set
override Span : SnapshotSpan with get, private set
final function get Span () : SnapshotSpan
private final function set Span (value : SnapshotSpan)

Property Value

Type: Microsoft.VisualStudio.Text.SnapshotSpan
The snapshot span for this tag.

Implements

ITagSpan<T>.Span

.NET Framework Security

See Also

Reference

TagSpan<T> Class

Microsoft.VisualStudio.Text.Tagging Namespace