MetadataAttribute.IsName 属性

定义

获取或设置一个值,该值指示属性是否为名称属性。

public:
 property bool IsName { bool get(); void set(bool value); };
[System.Runtime.Serialization.DataMember]
public bool IsName { get; set; }
[<System.Runtime.Serialization.DataMember>]
member this.IsName : bool with get, set
Public Property IsName As Boolean

属性值

Boolean

true 如果该属性为名称属性,则为;否则为 false

属性

适用于