FeatureAttribute

FeatureAttribute class

An attribute of a Feature.

public class FeatureAttribute

Constructors

Name Description
FeatureAttribute(string, AttributeDataType) Initializes a new instance of the FeatureAttribute class.
FeatureAttribute(string, AttributeDataType, bool) Initializes a new instance of the FeatureAttribute class.

Properties

Name Description
CanBeNull { get; set; } Gets a value indicating whether this instance can be null.
CanBeUnset { get; set; } Gets or sets a value indicating whether value for this attribute can be omitted.
DataType { get; set; } Gets the data type of the attribute.
DefaultValue { get; set; } Gets or sets a value for the attribute, that indicates missing data.
HasCustomDefaultValue { get; } Gets a value indicating whether the pre-defined default value for this attribute was overridden with a custom value.
IsLocked { get; } Gets a value indicating whether this attribute is locked.
Name { get; set; } Gets the name of the attribute.
Precision { get; set; } Gets or sets maximum number of decimal digits to store.
Width { get; set; } Gets or sets maximum allowed width of character representation of the attribute.

Methods

Name Description
Lock() Locks this attribute.
override ToString() Returns a string that represents the current object.

See Also