RuntimeReflectionExtensions.GetRuntimeMethods(Type) RuntimeReflectionExtensions.GetRuntimeMethods(Type) RuntimeReflectionExtensions.GetRuntimeMethods(Type) Method

Definition

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>
Parameters
type
Type Type Type

The type that contains the methods.

Returns

A collection of methods for the specified type.

Remarks

This method returns all methods defined on the specified type, including inherited, non-public, instance, and static methods.

Applies to