共用方式為


MetadataAttribute.IsName Property

Definition

Specifies whether the attribute is the Name attribute.

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

Property Value

true if the attribute is the Name attribute; otherwise, false.

Attributes

Applies to