Читати англійською Редагувати

Поділитися через


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.

C#
public abstract bool CanBeNull { get; }

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

Продукт Версії
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1