CommandBarControl.OLEUsage Property
Gets or sets the OLE usage. This property is deprecated.
Namespace: Microsoft.VisualStudio.CommandBars
Assembly: Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)
Syntax
'宣言
Property OLEUsage As MsoControlOLEUsage
MsoControlOLEUsage OLEUsage { get; set; }
Property Value
Type: Microsoft.VisualStudio.CommandBars.MsoControlOLEUsage
The OLE usage. This property is deprecated.
Remarks
This property throws a DeprecatedException when called.
.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.