AreaGroupCollection.GetGroupByID Method

NOTE: This API is now obsolete.

Gets an area group by identifier.

Namespace:  Microsoft.SharePoint.Portal.SiteData
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
<ObsoleteAttribute("This class is obsolete.")> _
Public Function GetGroupByID ( _
    GroupID As Integer _
) As AreaGroup
'Usage
Dim instance As AreaGroupCollection
Dim GroupID As Integer
Dim returnValue As AreaGroup

returnValue = instance.GetGroupByID(GroupID)
[ObsoleteAttribute("This class is obsolete.")]
public AreaGroup GetGroupByID(
    int GroupID
)

Parameters

  • GroupID
    Type: System.Int32
    The identifier of the area group.

Return Value

Type: Microsoft.SharePoint.Portal.SiteData.AreaGroup
An AreaGroup object that represents the area group that is selected.

See Also

Reference

AreaGroupCollection Class

AreaGroupCollection Members

Microsoft.SharePoint.Portal.SiteData Namespace