System.Web.Configuration.ProfilePropertySettings Class

The System.Web.Configuration.ProfilePropertySettings class provides a way to programmatically access and modify the profiles section of a configuration file. This class cannot be inherited.

See Also: ProfilePropertySettings Members

Syntax

public sealed class ProfilePropertySettings : System.Configuration.ConfigurationElement

Remarks

The System.Web.Configuration.ProfilePropertySettings class provides a way to programmatically create, access, and modify the definition of an individual property added to the properties subsection of the profile section of a configuration file.

The profile section of the configuration file specifies a schema for user profiles. At run time, the ASP.NET compilation system uses the information specified in the profile section to generate a class called ProfileCommon, which is derived from System.Web.Profile.ProfileBase. The ProfileCommon class definition is based on the properties defined in the properties subsection of the profile section of the configuration file. An instance of this class is created for each user profile, and you can access the individual profile values in your code through the System.Web.HttpContext.Profile property. For more information about profile properties, see Understanding ASP.NET Profile Properties. For more information about the profile features added to vstecasplong, see ASP.NET Profile Properties Overview.

Requirements

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