共用方式為


IMenuItem.SortOrder Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the sort order of the menu command in the UI. Default value is 0.

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

Syntax

'Declaration
ReadOnly Property SortOrder As Integer
int SortOrder { get; }

Property Value

Type: System.Int32
A value representing the sort order.

.NET Framework Security

See Also

Reference

IMenuItem Interface

Microsoft.VisualStudio.SharePoint Namespace