FeatureAttribute.DefaultValue property

Gets or sets a value for the attribute, that indicates missing data.

public object DefaultValue { get; set; }


exception condition
InvalidOperationException The attribute is locked.
InvalidOperationException The attribute does not allow null values.


This is the value representing a missing piece of information, when an attribute does not allow the null value. For attributes that do allow null values (CanBeNull == true), DefaultValue is null unless explicitly changed.

See Also