共用方式為


RolePlayerPropertyDescriptor.AllowNull 屬性

取得或設定值,指出 null 是否為所述角色屬性的有效值。

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

語法

'宣告
Public Property AllowNull As Boolean
public bool AllowNull { get; set; }

屬性值

類型:System.Boolean
如果對描述的角色扮演者而言,nullnull 參考 (即 Visual Basic 中的 Nothing) 是有效的值,則為 true,否則為 false。預設值是 false。

.NET Framework 安全性

請參閱

參考

RolePlayerPropertyDescriptor 類別

Microsoft.VisualStudio.Modeling.Design 命名空間