TypeInfo.GetDeclaredMethods(String) Metoda

Definicja

Zwraca kolekcję zawierającą wszystkie metody zadeklarowane w bieżącym typie, który jest zgodny z określoną nazwą.

public:
 virtual System::Collections::Generic::IEnumerable<System::Reflection::MethodInfo ^> ^ GetDeclaredMethods(System::String ^ name);
public virtual System.Collections.Generic.IEnumerable<System.Reflection.MethodInfo> GetDeclaredMethods(string name);
abstract member GetDeclaredMethods : string -> seq<System.Reflection.MethodInfo>
override this.GetDeclaredMethods : string -> seq<System.Reflection.MethodInfo>
Public Overridable Function GetDeclaredMethods (name As String) As IEnumerable(Of MethodInfo)
Public Iterator Overridable Function GetDeclaredMethods (name As String) As IEnumerable(Of MethodInfo)

Parametry

name
String

Nazwa metody do wyszukania.

Zwraca

Kolekcja zawierająca metody zgodne z name.

Wyjątki

Parametr name ma wartość null.

Dotyczy