CanBeNull

FeatureAttribute.CanBeNull property

Gets a value indicating whether this instance can be null.

public bool CanBeNull { get; set; }

Property Value

true if this instance can be null; otherwise, false.

Exceptions

exception condition
InvalidOperationException The attribute is locked.

See Also