FeatureAttribute.FeatureAttribute

FeatureAttribute(string, AttributeDataType)

の新しいインスタンスを初期化しますFeatureAttributeclass.

public FeatureAttribute(string name, AttributeDataType dataType)
パラメータタイプ説明
nameString属性の名前。
dataTypeAttributeDataType属性のデータ型。

関連項目


FeatureAttribute(string, AttributeDataType, bool)

の新しいインスタンスを初期化しますFeatureAttributeclass.

public FeatureAttribute(string name, AttributeDataType dataType, bool canBeNull)
パラメータタイプ説明
nameString属性の名前。
dataTypeAttributeDataType属性のデータ型。
canBeNullBooleantrueこのインスタンスが null になる可能性がある場合。さもないと、false.

例外

例外調子
ArgumentNullException属性名はnull.

関連項目