共用方式為


SPRoleDefinitionCollection.Item Property

Include Protected Members
Include Inherited Members

Gets the role definition from the collection of role definition objects.

Overload List

  Name Description
Public property Item[Int32] Gets the role definition at the specified index in the collection of role definition objects.
Public property Item[String] Gets the role definition with the specified name from the collection.

Top

See Also

Reference

SPRoleDefinitionCollection Class

SPRoleDefinitionCollection Members

Microsoft.SharePoint Namespace