RuntimeReflectionExtensions.GetRuntimeMethods(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)

パラメーター

type
Type

メソッドを含む型。

戻り値

指定した種類のメソッドのコレクション。

例外

typenullです。

注釈

このメソッドは、継承、非パブリック、インスタンス、静的メソッドなど、指定された型で定義されているすべてのメソッドを返します。

適用対象

こちらもご覧ください