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
'宣言
ReadOnly Property IdentityTag As Object
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.