Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the group object that has the specified name from the collection.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public ReadOnly Property Item ( _
name As String _
) As SPGroup
Get
'Usage
Dim instance As SPGroupCollection
Dim name As String
Dim value As SPGroup
value = instance.Item(name)
public SPGroup this[
string name
] { get; }
Parameters
name
Type: System.StringA string that represents the group name.
Property Value
Type: Microsoft.SharePoint.SPGroup
An SPGroup object that represents the group.
Remarks
In C#, this property is an indexer for the SPGroupCollection class.