共用方式為


RolePlayerPropertyDescriptor.IsReadOnly 屬性

取得值,指出描述的角色屬性是否為唯讀。

命名空間:  Microsoft.VisualStudio.Modeling.Design
組件:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.12.0.dll 中)

語法

'宣告
Public Overrides ReadOnly Property IsReadOnly As Boolean
public override bool IsReadOnly { get; }

屬性值

類型:System.Boolean
如果描述的角色屬性是唯讀的,則為 true,否則為 false。預設值是 false。

備註

只有在對 true 的 ReadOnlyAttribute 屬性套用至角色屬性在這個描述元,建構函式的這個屬性會傳回 true 。

.NET Framework 安全性

請參閱

參考

RolePlayerPropertyDescriptor 類別

Microsoft.VisualStudio.Modeling.Design 命名空間

ReadOnlyAttribute