ProfilePropertyMetadata::IsReadOnly Property

 

Gets or sets a value that indicates whether a profile property is read-only.

Namespace:   System.Web.ApplicationServices
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

public:
[DataMemberAttribute]
property bool IsReadOnly {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

true if the profile property is read-only; otherwise, false.

You set the IsReadOnly property in the element of the section of the Web.config file when the property is defined.

.NET Framework
Available since 3.5
Return to top
Show: