TypeInfo.GetDeclaredMethods(String) Méthode

Définition

Retourne une collection qui contient toutes les méthodes déclarées sur le type actuel qui correspondent au nom spécifié.

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)

Paramètres

name
String

Nom de la méthode à rechercher.

Retours

IEnumerable<MethodInfo>

Collection qui contient des méthodes qui correspondent à name.

Exceptions

name a la valeur null.

S’applique à