SPRoleDefinition.Order property
指定顯示在網站集合的使用權限等級] 頁面的權限層級的順序。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Property Order As Integer
Get
Set
'用途
Dim instance As SPRoleDefinition
Dim value As Integer
value = instance.Order
instance.Order = value
public int Order { get; set; }
Property value
Type: System.Int32
指定的順序為 32 位元整數。
備註
預設權限層級的Order屬性值等於 0。如果您不指定順序當您建立角色定義,然後依預設屬性值等於int.MaxValue (0x7FFFFFFF)。