EnumBuilder.GetInterfaces Metoda

Definicja

Zwraca tablicę wszystkich interfejsów zaimplementowanych w tej klasie i jej klasach bazowych.

public:
 override cli::array <Type ^> ^ GetInterfaces();
public override Type[] GetInterfaces ();
override this.GetInterfaces : unit -> Type[]
Public Overrides Function GetInterfaces () As Type()

Zwraca

Type[]

Zwraca tablicę Type obiektów reprezentujących zaimplementowane interfejsy. Jeśli żadna z nich nie jest zdefiniowana, zwracana jest pusta tablica.

Uwagi

Aby obejść ten problem, aby pobrać interfejs typu gotowego, pobierz typ przy użyciu metody Type.GetType lub Assembly.GetType i użyj odbicia dla pobranego typu.

Dotyczy