SPRoleAssignmentCollection.Item 属性

Gets the role assignment at the specified index in the collection.

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public ReadOnly Default Property Item ( _
    index As Integer _
) As SPRoleAssignment
    Get
用法
Dim instance As SPRoleAssignmentCollection
Dim index As Integer
Dim value As SPRoleAssignment

value = instance(index)
public SPRoleAssignment this[
    int index
] { get; }

参数

  • index
    类型:System.Int32

    A 32-bit integer that specifies the index.

属性值

类型:Microsoft.SharePoint.SPRoleAssignment
An SPRoleAssignment object that represents the role assignment.

另请参阅

引用

SPRoleAssignmentCollection 类

SPRoleAssignmentCollection 成员

Microsoft.SharePoint 命名空间