System.Web.Profile.ProfileBase.GetProfileGroup Method

Gets a group of properties identified by a group name.

Syntax

public ProfileGroupBase GetProfileGroup (string groupName)

Parameters

groupName
The name of the group of properties.

Returns

A System.Web.Profile.ProfileGroupBase object for a group of properties configured with the specified group name.

Remarks

Profile properties can be separated into groups for better organization. The ProfileBase.GetProfileGroup(string) property can be used to retrieve a group of properties by the group name. You can also access a profile property in a group by specifying the group name as a member of the Profile property available on each page. For example, the ZipCode profile property that is a member of the Address profile group could be accessed using Profile.Address.ZipCode.

Requirements

Namespace: System.Web.Profile
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0