Nyelv

CodeTypeMember.CustomAttributes Tulajdonság

Definíció

Lekéri vagy beállítja a tag egyéni attribútumait.

public:
 property System::CodeDom::CodeAttributeDeclarationCollection ^ CustomAttributes { System::CodeDom::CodeAttributeDeclarationCollection ^ get(); void set(System::CodeDom::CodeAttributeDeclarationCollection ^ value); };
public System.CodeDom.CodeAttributeDeclarationCollection CustomAttributes { get; set; }
member this.CustomAttributes : System.CodeDom.CodeAttributeDeclarationCollection with get, set
Public Property CustomAttributes As CodeAttributeDeclarationCollection

Tulajdonság értéke

A CodeAttributeDeclarationCollection tag egyéni attribútumait jelzi.

Megjegyzések

Ez a tulajdonság metaadat-attribútumok hozzáadására használható a tag deklarációjára.

Figyelmeztetés

Ez a tulajdonság alapértelmezés szerint megtalálható null , és a hivatkozás előtt ellenőrizni kell a tartalmat.

A következőre érvényes:

Lásd még