Share via


DesignTimeReadOnlyAttribute.ReadOnly Property

Determines if the property is read-only by design-time. Returns truetrue (True in Visual Basic) if the property is read-only at design-time and falsefalse (False in Visual Basic) otherwise.

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

Syntax

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

See Also

DesignTimeReadOnlyAttribute Class

Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Design Namespace