Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- 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
RolePlayerPropertyDescriptor Members
Microsoft.VisualStudio.Modeling.Design Namespace
Change History
Date |
History |
Reason |
---|---|---|
July 2008 |
Added topic. |
Content bug fix. |