TypeInfo.GetDeclaredMethods(String) Método

Definición

Devuelve una colección que contiene todos los métodos declarados en el tipo actual que coinciden con el nombre especificado.

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)

Parámetros

name
String

Nombre del método que se va a buscar.

Devoluciones

IEnumerable<MethodInfo>

Colección que contiene los métodos que coinciden con name.

Excepciones

name es null.

Se aplica a