다음을 통해 공유


CommandBarComboBoxClass.Priority Property

Gets the priority. Always returns 1.

Namespace:  Microsoft.VisualStudio.CommandBars
Assembly:  Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)

Syntax

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

value = instance.Priority

instance.Priority = value
public virtual int Priority { get; set; }
public:
virtual property int Priority {
    int get ();
    void set (int value);
}
abstract Priority : int with get, set
override Priority : int with get, set
function get Priority () : int
function set Priority (value : int)

Property Value

Type: System.Int32
Always returns 1.

Implements

_CommandBarComboBox.Priority

Remarks

Attempting to set this property with any other value will cause an exception to be thrown.

.NET Framework Security

See Also

Reference

CommandBarComboBoxClass Class

CommandBarComboBoxClass Members

Microsoft.VisualStudio.CommandBars Namespace