共用方式為


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
    Get
    Set
'用途
Dim instance As CommandBarControl
Dim value As MsoControlOLEUsage

value = instance.OLEUsage

instance.OLEUsage = value
MsoControlOLEUsage OLEUsage { get; set; }
property MsoControlOLEUsage OLEUsage {
    MsoControlOLEUsage get ();
    void set (MsoControlOLEUsage value);
}
abstract OLEUsage : MsoControlOLEUsage with get, set
function get OLEUsage () : MsoControlOLEUsage
function set OLEUsage (value : MsoControlOLEUsage)

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

See Also

Reference

CommandBarControl Interface

CommandBarControl Members

Microsoft.VisualStudio.CommandBars Namespace