Partilhar 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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'Declaração
Public Overrides ReadOnly Property IsReadOnly As Boolean
    Get
public override bool IsReadOnly { get; }
public:
virtual property bool IsReadOnly {
    bool get () override;
}
abstract IsReadOnly : bool
override IsReadOnly : bool
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