Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the object that contains data about the HostItem.
Namespace: Microsoft.VisualStudio.Tools.Applications.ProgrammingModel.Interop
Assembly: Microsoft.VisualStudio.Tools.Applications.ProgrammingModel (in Microsoft.VisualStudio.Tools.Applications.ProgrammingModel.dll)
Syntax
'Declaration
Property Tag As Object
'Usage
Dim instance As IVstaHostItem
Dim value As Object
value = instance.Tag
instance.Tag = value
Object Tag { get; set; }
property Object^ Tag {
Object^ get ();
void set (Object^ value);
}
function get Tag () : Object
function set Tag (value : Object)
Property Value
Type: System.Object
The default value is null (Nothing in Visual Basic). Any type derived from the Object class can be assigned to this property.
Remarks
A common use for the Tag property is to store data that is closely associated with the HostItem. This value is not persisted to the Blueprint file.
.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.
See Also
Reference
Microsoft.VisualStudio.Tools.Applications.ProgrammingModel.Interop Namespace