Partager via


RolePlayerPropertyDescriptor.IsReadOnly Property

Gets a value that indicates whether the described role property is read-only.

Namespace:  Microsoft.VisualStudio.Modeling.Design
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

Syntax

'Declaration
Public Overrides ReadOnly Property IsReadOnly As Boolean
public override bool IsReadOnly { get; }
public:
virtual property bool IsReadOnly {
    bool get () override;
}
abstract IsReadOnly : bool with get 
override IsReadOnly : bool with get
override function get IsReadOnly () : boolean

Property Value

Type: System.Boolean
true if the described role property is read-only; otherwise, false. The default value is false.

Remarks

This property returns true only when a ReadOnlyAttribute attribute set to true was applied to the role property in the constructor of this descriptor.

.NET Framework Security

See Also

Reference

RolePlayerPropertyDescriptor Class

Microsoft.VisualStudio.Modeling.Design Namespace

ReadOnlyAttribute