Partager via


IAdornmentElement.IdentityTag Property

Gets the unique identifier associated with this adornment.

Namespace:  Microsoft.VisualStudio.Text.Formatting
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

'Déclaration
ReadOnly Property IdentityTag As Object
    Get
Object IdentityTag { get; }
property Object^ IdentityTag {
    Object^ get ();
}
abstract IdentityTag : Object
function get IdentityTag () : Object

Property Value

Type: System.Object
The unique identifier associated with this adornment.

Remarks

This ID can be passed to GetAdornmentBounds to find the location of this adornment on a line in the view.

.NET Framework Security

See Also

Reference

IAdornmentElement Interface

Microsoft.VisualStudio.Text.Formatting Namespace