EnumBuilder.GetInterfaces Metodo

Definizione

Restituisce una matrice di tutte le interfacce implementate in questa classe e nelle relative classi di base.

public:
 override cli::array <Type ^> ^ GetInterfaces();
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.Interfaces)]
public override Type[] GetInterfaces();
public override Type[] GetInterfaces();
[<System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.Interfaces)>]
override this.GetInterfaces : unit -> Type[]
override this.GetInterfaces : unit -> Type[]
Public Overrides Function GetInterfaces () As Type()

Valori restituiti

Type[]

Restituisce una matrice di Type oggetti che rappresentano le interfacce implementate. Se non è definito alcun valore, viene restituita una matrice vuota.

Attributi

Commenti

Come soluzione alternativa, per recuperare l'interfaccia di un tipo finito, recuperare il tipo usando Type.GetType o Assembly.GetType e usare la reflection sul tipo recuperato.

Si applica a