CommandBarButtonClass.Type Property
Gets the type of the control.
Namespace: Microsoft.VisualStudio.CommandBars
Assembly: Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)
Syntax
'宣告
Public Overridable ReadOnly Property Type As MsoControlType
Get
'用途
Dim instance As CommandBarButtonClass
Dim value As MsoControlType
value = instance.Type
public virtual MsoControlType Type { get; }
public:
virtual property MsoControlType Type {
MsoControlType get ();
}
abstract Type : MsoControlType
override Type : MsoControlType
function get Type () : MsoControlType
Property Value
Type: Microsoft.VisualStudio.CommandBars.MsoControlType
The MsoControlType.
Implements
.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.