RuntimeReflectionExtensions.GetRuntimeMethods(Type) Metoda

Definicja

Pobiera kolekcję reprezentującą wszystkie metody zdefiniowane w określonym typie.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Generic::IEnumerable<System::Reflection::MethodInfo ^> ^ GetRuntimeMethods(Type ^ type);
public static System.Collections.Generic.IEnumerable<System.Reflection.MethodInfo> GetRuntimeMethods (this Type type);
static member GetRuntimeMethods : Type -> seq<System.Reflection.MethodInfo>
<Extension()>
Public Function GetRuntimeMethods (type As Type) As IEnumerable(Of MethodInfo)

Parametry

type
Type

Typ, który zawiera metody.

Zwraca

Kolekcja metod dla określonego typu.

Wyjątki

type to null.

Uwagi

Ta metoda zwraca wszystkie metody zdefiniowane w określonym typie, w tym dziedziczone, niepublityczne, wystąpienia i metody statyczne.

Dotyczy

Zobacz też