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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。