共用方式為


ITagSpan<T>.Tag Property

Gets the tag located in this span.

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

Syntax

'宣告
ReadOnly Property Tag As T
T Tag { get; }
property T Tag {
    T get ();
}
abstract Tag : 'T
function get Tag () : T

Property Value

Type: T
The tag located in this span.

.NET Framework Security

See Also

Reference

ITagSpan<T> Interface

Microsoft.VisualStudio.Text.Tagging Namespace