FeatureAttribute.FeatureAttribute
FeatureAttribute(string, AttributeDataType)
Yeni bir örneğini başlatır.FeatureAttribute
sınıf.
public FeatureAttribute(string name, AttributeDataType dataType)
Parametre | Tip | Tanım |
---|
name | String | Özniteliğin adı. |
dataType | AttributeDataType | Özniteliğin veri türü. |
Ayrıca bakınız
FeatureAttribute(string, AttributeDataType, bool)
Yeni bir örneğini başlatır.FeatureAttribute
sınıf.
public FeatureAttribute(string name, AttributeDataType dataType, bool canBeNull)
Parametre | Tip | Tanım |
---|
name | String | Özniteliğin adı. |
dataType | AttributeDataType | Özniteliğin veri türü. |
canBeNull | Boolean | true eğer bu örnek boş olabilirse; aksi takdirde,false . |
istisnalar
istisna | şart |
---|
ArgumentNullException | öznitelik adınull . |
Ayrıca bakınız