System.Web.Configuration.ProfilePropertySettings.ReadOnly Property

Gets or sets a value that determines whether the associated property in the dynamically generated ProfileCommon class is read-only.

Syntax

[System.Configuration.ConfigurationProperty("readOnly", DefaultValue=false)]
public bool ReadOnly { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

At run time, the ASP.NET compilation system uses the information specified in the profile section of the configuration file to generate a class called ProfileCommon, which is derived from System.Web.Profile.ProfileBase. The class allows you to access and modify the values for individual user profiles.

The ProfileCommon class definition is based on the properties defined in the properties subsection of the profile section of the configuration file. The property values that you specify for an instance of the System.Web.Configuration.ProfilePropertySettings class will be used to define an associated property in the ProfileCommon class.

Requirements

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