ProfileGroupSettings.Name Property

 

Gets or sets name of the group of ProfilePropertySettings objects this object contains.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

[<ConfigurationPropertyAttribute("name", IsRequired = true, IsKey = true)>]
member Name : string with get

Property Value

Type: System.String

A string containing the name of the group of ProfilePropertySettings objects this object contains. The default value is an empty string ("").

The group name must be unique within a ProfileGroupSettingsCollection collection; otherwise, an exception is raised when the configuration file is saved.

The following code example shows how to use the Name property. This code example is part of a larger example provided for the ProfileSection class.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: