TypeExtensions.GetMethods Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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()
Parameters
- type
- Type
Returns
Applies to
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()
Parameters
- type
- Type
- bindingAttr
- BindingFlags
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.