CommandBar.InstanceId Property
Gets the instance ID of the command bar.
Namespace: Microsoft.VisualStudio.CommandBars
Assembly: Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)
Syntax
'Declaration
ReadOnly Property InstanceId As Integer
Get
'Usage
Dim instance As CommandBar
Dim value As Integer
value = instance.InstanceId
int InstanceId { get; }
property int InstanceId {
int get ();
}
abstract InstanceId : int
function get InstanceId () : int
Property Value
Type: System.Int32
The instance ID of the command bar.
.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.