FeatureAttribute.FeatureAttribute
FeatureAttribute(string, AttributeDataType)
の新しいインスタンスを初期化しますFeatureAttribute
class.
public FeatureAttribute(string name, AttributeDataType dataType)
パラメータ | タイプ | 説明 |
---|
name | String | 属性の名前。 |
dataType | AttributeDataType | 属性のデータ型。 |
関連項目
FeatureAttribute(string, AttributeDataType, bool)
の新しいインスタンスを初期化しますFeatureAttribute
class.
public FeatureAttribute(string name, AttributeDataType dataType, bool canBeNull)
パラメータ | タイプ | 説明 |
---|
name | String | 属性の名前。 |
dataType | AttributeDataType | 属性のデータ型。 |
canBeNull | Boolean | true このインスタンスが null になる可能性がある場合。さもないと、false . |
例外
例外 | 調子 |
---|
ArgumentNullException | 属性名はnull . |
関連項目