SPPermissionCollection.Item property (SPMember)
NOTE: This API is now obsolete.
Obtém o objeto de permissão com o membro especificado da coleção. No C#, essa propriedade é um indexador para a classe SPPermissionCollection .
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaração
<ObsoleteAttribute("Use the SPRoleAssignmentCollection class instead")> _
Public ReadOnly Default Property Item ( _
member As SPMember _
) As SPPermission
Get
'Uso
Dim instance As SPPermissionCollection
Dim member As SPMember
Dim value As SPPermission
value = instance(member)
[ObsoleteAttribute("Use the SPRoleAssignmentCollection class instead")]
public SPPermission this[
SPMember member
] { get; }
Parâmetros
member
Type: Microsoft.SharePoint.SPMemberUm objeto de SPMember que especifica o membro.
Property value
Type: Microsoft.SharePoint.SPPermission
Um objeto SPPermission que representa a permissão.