RuntimeReflectionExtensions 類別

定義

提供方法,該方法可擷取在執行階段之類型的相關資訊。

public ref class RuntimeReflectionExtensions abstract sealed
public static class RuntimeReflectionExtensions
type RuntimeReflectionExtensions = class
Public Module RuntimeReflectionExtensions
繼承
RuntimeReflectionExtensions

方法

GetMethodInfo(Delegate)

取得表示特定委派所代表之方法的物件。

GetRuntimeBaseDefinition(MethodInfo)

擷取物件,表示直接或間接基底類別上的指定方法 (在這個類別上首次宣告這個方法)。

GetRuntimeEvent(Type, String)

擷取表示指定之事件的物件。

GetRuntimeEvents(Type)

擷取集合,表示指定的型別所定義的所有事件。

GetRuntimeField(Type, String)

擷取表示指定之欄位的物件。

GetRuntimeFields(Type)

擷取集合,表示指定的型別所定義的所有欄位。

GetRuntimeInterfaceMap(TypeInfo, Type)

傳回指定型別和指定介面的介面對應。

GetRuntimeMethod(Type, String, Type[])

擷取表示指定之方法的物件。

GetRuntimeMethods(Type)

擷取集合,表示指定的型別所定義的所有方法。

GetRuntimeProperties(Type)

擷取集合,表示指定的型別所定義的所有屬性。

GetRuntimeProperty(Type, String)

擷取表示指定之屬性的物件。

適用於