JSConstructor.GetCustomAttributes Metodo

Definizione

Restituisce una matrice contenente gli attributi personalizzati collegati a questo costruttore.

Overload

GetCustomAttributes(Boolean)

Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice.

Restituisce una matrice contenente gli attributi personalizzati collegati a questo costruttore.

GetCustomAttributes(Type, Boolean)

Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice.

Restituisce una matrice contenente gli attributi personalizzati collegati a questo costruttore, eseguendo la ricerca dei soli attributi del tipo specificato.

GetCustomAttributes(Boolean)

Restituisce una matrice contenente gli attributi personalizzati collegati a questo costruttore.

Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice.

public:
 override cli::array <System::Object ^> ^ GetCustomAttributes(bool inherit);
public override object[] GetCustomAttributes (bool inherit);
override this.GetCustomAttributes : bool -> obj[]
Public Overrides Function GetCustomAttributes (inherit As Boolean) As Object()

Parametri

inherit
Boolean

true per cercare gli attributi nella gerarchia di eredità del membro.

Restituisce

Object[]

Matrice di attributi personalizzati collegati a questo metodo oppure, se non vi sono attributi, matrice con zero elementi.

Vedi anche

Si applica a

GetCustomAttributes(Type, Boolean)

Restituisce una matrice contenente gli attributi personalizzati collegati a questo costruttore, eseguendo la ricerca dei soli attributi del tipo specificato.

Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice.

public:
 override cli::array <System::Object ^> ^ GetCustomAttributes(Type ^ t, bool inherit);
public override object[] GetCustomAttributes (Type t, bool inherit);
override this.GetCustomAttributes : Type * bool -> obj[]
Public Overrides Function GetCustomAttributes (t As Type, inherit As Boolean) As Object()

Parametri

t
Type

Tipo di attributo da cercare.

inherit
Boolean

true per cercare gli attributi nella gerarchia di eredità del membro.

Restituisce

Object[]

Matrice di oggetti Object con zero elementi.

Vedi anche

Si applica a