共用方式為


MetadataAttribute.IsCode Property

Definition

Specifies whether the attribute is the Code attribute.

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

Property Value

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

Attributes

Applies to