MetaDataMember.CanBeNull Property

Definition

When overridden in a derived class, gets a value that indicates whether the value of this member can be assigned the null value.

public:
 abstract property bool CanBeNull { bool get(); };
public abstract bool CanBeNull { get; }
member this.CanBeNull : bool
Public MustOverride ReadOnly Property CanBeNull As Boolean

Property Value

true if this member can be assigned the null value; otherwise, false.

Remarks

This property is dependent on the DbType property, and is provided for convenience.

Applies to