TypeInfo.GetDeclaredMethods(String) Metoda

Definicja

Zwraca kolekcję zawierającą wszystkie metody zadeklarowane dla bieżącego typu zgodnego 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

name to null.

Dotyczy