FeatureAttribute

FeatureAttribute constructor (1 of 2)

Initializes a new instance of the FeatureAttribute class.

public FeatureAttribute(string name, AttributeDataType dataType)
Parameter Type Description
name String The name of the attribute.
dataType AttributeDataType The data type of the attribute.

See Also


FeatureAttribute constructor (2 of 2)

Initializes a new instance of the FeatureAttribute class.

public FeatureAttribute(string name, AttributeDataType dataType, bool canBeNull)
Parameter Type Description
name String The name of the attribute.
dataType AttributeDataType The data type of the attribute.
canBeNull Boolean true if this instance can be null; otherwise, false.

Exceptions

exception condition
ArgumentNullException The attribute name is null.

See Also