RuntimeReflectionExtensions 类

定义

提供检索有关运行时类型的信息的方法。Provides methods that retrieve information about types at run time.

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

方法

GetMethodInfo(Delegate)

获取指示指定委托表示的方法的对象。Gets an object that represents the method represented by the specified delegate.

GetRuntimeBaseDefinition(MethodInfo)

检索表示在此方法最先声明的直接或间接类上的指定方法的对象。Retrieves an object that represents the specified method on the direct or indirect base class where the method was first declared.

GetRuntimeEvent(Type, String)

检索一个表示指定事件的对象。Retrieves an object that represents the specified event.

GetRuntimeEvents(Type)

检索表示指定类型定义的所有事件的集合。Retrieves a collection that represents all the events defined on a specified type.

GetRuntimeField(Type, String)

检索表示指定字段的对象。Retrieves an object that represents a specified field.

GetRuntimeFields(Type)

检索表示指定类型定义的所有字段的集合。Retrieves a collection that represents all the fields defined on a specified type.

GetRuntimeInterfaceMap(TypeInfo, Type)

返回指定类型和指定接口的接口映射。Returns an interface mapping for the specified type and the specified interface.

GetRuntimeMethod(Type, String, Type[])

检索表示指定方法的对象。Retrieves an object that represents a specified method.

GetRuntimeMethods(Type)

检索表示指定类型定义的所有方法的集合。Retrieves a collection that represents all methods defined on a specified type.

GetRuntimeProperties(Type)

检索表示指定类型定义的所有属性的集合。Retrieves a collection that represents all the properties defined on a specified type.

GetRuntimeProperty(Type, String)

检索表示指定属性的对象。Retrieves an object that represents a specified property.

适用于