Delen via


RolePlayerPropertyDescriptor.AllowNull Property

Gets or sets a value that indicates whether null is a valid value for the described role property.

Namespace:  Microsoft.VisualStudio.Modeling.Design
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

Syntax

'Declaration
Public Property AllowNull As Boolean
public bool AllowNull { get; set; }
public:
property bool AllowNull {
    bool get ();
    void set (bool value);
}
member AllowNull : bool with get, set
function get AllowNull () : boolean 
function set AllowNull (value : boolean)

Property Value

Type: System.Boolean
true if nulla null reference (Nothing in Visual Basic) is a valid value for the described role property; otherwise, false. The default value is false.

.NET Framework Security

See Also

Reference

RolePlayerPropertyDescriptor Class

Microsoft.VisualStudio.Modeling.Design Namespace