TypeExtensions.GetMethods 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GetMethods(Type) | |
GetMethods(Type, BindingFlags) |
GetMethods(Type)
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
static cli::array <System::Reflection::MethodInfo ^> ^ GetMethods(Type ^ type);
public static System.Reflection.MethodInfo[] GetMethods (this Type type);
static member GetMethods : Type -> System.Reflection.MethodInfo[]
<Extension()>
Public Function GetMethods (type As Type) As MethodInfo()
参数
- type
- Type
返回
适用于
GetMethods(Type, BindingFlags)
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
public:
static cli::array <System::Reflection::MethodInfo ^> ^ GetMethods(Type ^ type, System::Reflection::BindingFlags bindingAttr);
public static System.Reflection.MethodInfo[] GetMethods (Type type, System.Reflection.BindingFlags bindingAttr);
static member GetMethods : Type * System.Reflection.BindingFlags -> System.Reflection.MethodInfo[]
Public Shared Function GetMethods (type As Type, bindingAttr As BindingFlags) As MethodInfo()
参数
- type
- Type
- bindingAttr
- BindingFlags