System.Web.Configuration.ProfileSection Class

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

See Also: ProfileSection Members

Syntax

public sealed class ProfileSection : System.Configuration.ConfigurationSection

Remarks

The System.Web.Configuration.ProfileSection class provides a way to programmatically access and modify the content of the configuration file profile section. 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 profile section of the configuration file. The class allows you to access and modify the values for individual profiles. 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 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