RuntimeReflectionExtensions.GetRuntimeMethods(Type) 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.
Retrieves a collection that represents all methods defined on a specified type.
public:
[System::Runtime::CompilerServices::Extension]
static System::Collections::Generic::IEnumerable<System::Reflection::MethodInfo ^> ^ GetRuntimeMethods(Type ^ type);
public static System.Collections.Generic.IEnumerable<System.Reflection.MethodInfo> GetRuntimeMethods (this Type type);
static member GetRuntimeMethods : Type -> seq<System.Reflection.MethodInfo>
<Extension()>
Public Function GetRuntimeMethods (type As Type) As IEnumerable(Of MethodInfo)
Parameters
- type
- Type
The type that contains the methods.
Returns
A collection of methods for the specified type.
Exceptions
type
is null
.
Remarks
This method returns all methods defined on the specified type, including inherited, non-public, instance, and static methods.
Applies to
See also
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.