TypeExtensions.GetMethod Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
| Name | Description |
|---|---|
| GetMethod(Type, String) | |
| GetMethod(Type, String, BindingFlags) | |
| GetMethod(Type, String, Type[]) |
GetMethod(Type, String)
- Zdroj:
- TypeExtensions.cs
- Zdroj:
- TypeExtensions.cs
- Zdroj:
- TypeExtensions.cs
- Zdroj:
- 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
Parametry
- type
- Type
- name
- String
Návraty
Platí pro
GetMethod(Type, String, BindingFlags)
- Zdroj:
- TypeExtensions.cs
- Zdroj:
- TypeExtensions.cs
- Zdroj:
- TypeExtensions.cs
- Zdroj:
- 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
Parametry
- type
- Type
- name
- String
- bindingAttr
- BindingFlags
Návraty
Platí pro
GetMethod(Type, String, Type[])
- Zdroj:
- TypeExtensions.cs
- Zdroj:
- TypeExtensions.cs
- Zdroj:
- TypeExtensions.cs
- Zdroj:
- 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
Parametry
- type
- Type
- name
- String
- types
- Type[]