Share via


Property.ReadOnly Property

Gets a value indicating if the property is read-only.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel
Assembly:  Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime (in Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime.dll)

Syntax

'Declaration
Public ReadOnly Property ReadOnly As Boolean
public bool ReadOnly { get; }
public:
property bool ReadOnly {
    bool get ();
}
public function get ReadOnly () : boolean

Field Value

Returns truetrue (True in Visual Basic) if the property is read-only. Otherwise, returns falsefalse (False in Visual Basic).

See Also

Property Class

Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel Namespace