TypeExtensions.GetMethod Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Overload
GetMethod(Type, String) | |
GetMethod(Type, String, BindingFlags) | |
GetMethod(Type, String, Type[]) |
GetMethod(Type, String)
- Sumber:
- TypeExtensions.cs
- Sumber:
- TypeExtensions.cs
- Sumber:
- 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
Parameter
- type
- Type
- name
- String
Mengembalikan
Berlaku untuk
GetMethod(Type, String, BindingFlags)
- Sumber:
- TypeExtensions.cs
- Sumber:
- TypeExtensions.cs
- Sumber:
- 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
Parameter
- type
- Type
- name
- String
- bindingAttr
- BindingFlags
Mengembalikan
Berlaku untuk
GetMethod(Type, String, Type[])
- Sumber:
- TypeExtensions.cs
- Sumber:
- TypeExtensions.cs
- Sumber:
- 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
Parameter
- type
- Type
- name
- String
- types
- Type[]
Mengembalikan
Berlaku untuk
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.