TypeExtensions.GetMethod Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
GetMethod(Type, String) | |
GetMethod(Type, String, BindingFlags) | |
GetMethod(Type, String, Type[]) |
GetMethod(Type, String)
- Origine:
- TypeExtensions.cs
- Origine:
- TypeExtensions.cs
- Origine:
- TypeExtensions.cs
public:
static System::Reflection::MethodInfo ^ GetMethod(Type ^ type, System::String ^ name);
public static System.Reflection.MethodInfo GetMethod (Type type, string name);
static member GetMethod : Type * string -> System.Reflection.MethodInfo
Public Shared Function GetMethod (type As Type, name As String) As MethodInfo
Parametri
- type
- Type
- name
- String
Restituisce
Si applica a
GetMethod(Type, String, BindingFlags)
- Origine:
- TypeExtensions.cs
- Origine:
- TypeExtensions.cs
- Origine:
- 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
Parametri
- type
- Type
- name
- String
- bindingAttr
- BindingFlags
Restituisce
Si applica a
GetMethod(Type, String, Type[])
- Origine:
- TypeExtensions.cs
- Origine:
- TypeExtensions.cs
- Origine:
- TypeExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
static System::Reflection::MethodInfo ^ GetMethod(Type ^ type, System::String ^ name, cli::array <Type ^> ^ types);
public static System.Reflection.MethodInfo GetMethod (this Type type, string name, Type[] types);
public static System.Reflection.MethodInfo? GetMethod (this Type type, string name, Type[] types);
static member GetMethod : Type * string * Type[] -> System.Reflection.MethodInfo
<Extension()>
Public Function GetMethod (type As Type, name As String, types As Type()) As MethodInfo
Parametri
- type
- Type
- name
- String
- types
- Type[]
Restituisce
Si applica a
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.