Module.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.
Returns the global methods defined on the module.
Overloads
GetMethods() |
Returns the global methods defined on the module. |
GetMethods(BindingFlags) |
Returns the global methods defined on the module that match the specified binding flags. |
GetMethods()
- Source:
- Module.cs
- Source:
- Module.cs
- Source:
- Module.cs
Returns the global methods defined on the module.
public:
cli::array <System::Reflection::MethodInfo ^> ^ GetMethods();
public System.Reflection.MethodInfo[] GetMethods ();
member this.GetMethods : unit -> System.Reflection.MethodInfo[]
Public Function GetMethods () As MethodInfo()
Returns
An array of MethodInfo objects representing all the global methods defined on the module; if there are no global methods, an empty array is returned.
Applies to
GetMethods(BindingFlags)
- Source:
- Module.cs
- Source:
- Module.cs
- Source:
- Module.cs
Returns the global methods defined on the module that match the specified binding flags.
public:
virtual cli::array <System::Reflection::MethodInfo ^> ^ GetMethods(System::Reflection::BindingFlags bindingFlags);
public:
cli::array <System::Reflection::MethodInfo ^> ^ GetMethods(System::Reflection::BindingFlags bindingFlags);
public virtual System.Reflection.MethodInfo[] GetMethods (System.Reflection.BindingFlags bindingFlags);
public System.Reflection.MethodInfo[] GetMethods (System.Reflection.BindingFlags bindingFlags);
abstract member GetMethods : System.Reflection.BindingFlags -> System.Reflection.MethodInfo[]
override this.GetMethods : System.Reflection.BindingFlags -> System.Reflection.MethodInfo[]
member this.GetMethods : System.Reflection.BindingFlags -> System.Reflection.MethodInfo[]
Public Overridable Function GetMethods (bindingFlags As BindingFlags) As MethodInfo()
Public Function GetMethods (bindingFlags As BindingFlags) As MethodInfo()
Parameters
- bindingFlags
- BindingFlags
A bitwise combination of BindingFlags values that limit the search.
Returns
An array of type MethodInfo representing the global methods defined on the module that match the specified binding flags; if no global methods match the binding flags, an empty array is returned.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기