다음을 통해 공유


CommandBarComboBoxClass.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

‘선언
Public Overridable Property OLEUsage As MsoControlOLEUsage
    Get
    Set
‘사용 방법
Dim instance As CommandBarComboBoxClass
Dim value As MsoControlOLEUsage

value = instance.OLEUsage

instance.OLEUsage = value
public virtual MsoControlOLEUsage OLEUsage { get; set; }
public:
virtual property MsoControlOLEUsage OLEUsage {
    MsoControlOLEUsage get ();
    void set (MsoControlOLEUsage value);
}
abstract OLEUsage : MsoControlOLEUsage with get, set
override 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.

Implements

_CommandBarComboBox.OLEUsage

Remarks

This property throws a DeprecatedException when called.

.NET Framework Security

See Also

Reference

CommandBarComboBoxClass Class

CommandBarComboBoxClass Members

Microsoft.VisualStudio.CommandBars Namespace