TypeExtensions.GetMethod Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
GetMethod(Type, String) | |
GetMethod(Type, String, BindingFlags) | |
GetMethod(Type, String, Type[]) |
GetMethod(Type, String)
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
static System::Reflection::MethodInfo ^ GetMethod(Type ^ type, System::String ^ name);
public static System.Reflection.MethodInfo GetMethod (this Type type, string name);
public static System.Reflection.MethodInfo? GetMethod (this Type type, string name);
static member GetMethod : Type * string -> System.Reflection.MethodInfo
<Extension()>
Public Function GetMethod (type As Type, name As String) As MethodInfo
Parámetros
- type
- Type
- name
- String
Devoluciones
Se aplica a
GetMethod(Type, String, BindingFlags)
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
static System::Reflection::MethodInfo ^ GetMethod(Type ^ type, System::String ^ name, System::Reflection::BindingFlags bindingAttr);
public static System.Reflection.MethodInfo GetMethod (this Type type, string name, System.Reflection.BindingFlags bindingAttr);
public static System.Reflection.MethodInfo? GetMethod (this Type type, string name, System.Reflection.BindingFlags bindingAttr);
static member GetMethod : Type * string * System.Reflection.BindingFlags -> System.Reflection.MethodInfo
<Extension()>
Public Function GetMethod (type As Type, name As String, bindingAttr As BindingFlags) As MethodInfo
Parámetros
- type
- Type
- name
- String
- bindingAttr
- BindingFlags
Devoluciones
Se aplica a
GetMethod(Type, String, Type[])
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
public:
static System::Reflection::MethodInfo ^ GetMethod(Type ^ type, System::String ^ name, cli::array <Type ^> ^ types);
public static System.Reflection.MethodInfo GetMethod (Type type, string name, Type[] types);
static member GetMethod : Type * string * Type[] -> System.Reflection.MethodInfo
Public Shared Function GetMethod (type As Type, name As String, types As Type()) As MethodInfo
Parámetros
- type
- Type
- name
- String
- types
- Type[]
Devoluciones
Se aplica a
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.