次の方法で共有


TrackingTagSpan<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

'宣言
Public Property Tag As T
public T Tag { get; private set; }
public:
property T Tag {
    T get ();
    private: void set (T value);
}
member Tag : 'T with get, private set
function get Tag () : T
private function set Tag (value : T)

Property Value

Type: T
The tag located in this span.

.NET Framework Security

See Also

Reference

TrackingTagSpan<T> Class

Microsoft.VisualStudio.Text.Tagging Namespace