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

Syntax

'Declaration
Public Overrides ReadOnly Property IsReadOnly As Boolean
'Usage
Dim instance As RolePlayerPropertyDescriptor 
Dim value As Boolean 

value = instance.IsReadOnly
public override bool IsReadOnly { get; }
public:
virtual property bool IsReadOnly {
    bool get () override;
}
public 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

RolePlayerPropertyDescriptor Members

Microsoft.VisualStudio.Modeling.Design Namespace

ReadOnlyAttribute

Change History

Date

History

Reason

July 2008

Added topic.

Content bug fix.