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)

检索表示指定属性的对象。

适用于