SPPolicyRoleCollection.Item property (Int32)
取得集合中的指定索引處的原則角色物件。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public ReadOnly Default Property Item ( _
index As Integer _
) As SPPolicyRole
Get
'用途
Dim instance As SPPolicyRoleCollection
Dim index As Integer
Dim value As SPPolicyRole
value = instance(index)
public SPPolicyRole this[
int index
] { get; }
參數
index
Type: System.Int32集合中指定之索引的 32 位元整數。
Property value
Type: Microsoft.SharePoint.Administration.SPPolicyRole
表示原則角色SPPolicyRole物件。