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
'Declaration
Public Overrides ReadOnly Property IsReadOnly As Boolean
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
RolePlayerPropertyDescriptor Class