Compartilhar via


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

'Declaration
Public Property Tag As T
public T Tag { get; private set; }
public:
virtual property T Tag {
    T get () sealed;
    private: void set (T value) sealed;
}
abstract Tag : 'T with get, private set 
override Tag : 'T with get, private set
final function get Tag () : T
private final function set Tag (value : T)

Property Value

Type: T
The tag located in this span.

Implements

ITagSpan<T>.Tag

.NET Framework Security

See Also

Reference

TagSpan<T> Class

Microsoft.VisualStudio.Text.Tagging Namespace