_CommandBarButton.Priority Property

Gets the priority. Always returns 1.

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

Syntax

'Declaração
Property Priority As Integer
int Priority { get; set; }

Property Value

Type: System.Int32
Always returns 1.

Remarks

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

.NET Framework Security

See Also

Reference

_CommandBarButton Interface

Priority Overload

Microsoft.VisualStudio.CommandBars Namespace