FeatureAttribute.FeatureAttribute

FeatureAttribute(string, AttributeDataType)

Initializes a new instance of the FeatureAttribute class.

public FeatureAttribute(string name, AttributeDataType dataType)
ParameterTypeDescription
nameStringThe name of the attribute.
dataTypeAttributeDataTypeThe data type of the attribute.

See Also


FeatureAttribute(string, AttributeDataType, bool)

Initializes a new instance of the FeatureAttribute class.

public FeatureAttribute(string name, AttributeDataType dataType, bool canBeNull)
ParameterTypeDescription
nameStringThe name of the attribute.
dataTypeAttributeDataTypeThe data type of the attribute.
canBeNullBooleantrue if this instance can be null; otherwise, false.

Exceptions

exceptioncondition
ArgumentNullExceptionThe attribute name is null.

See Also