RuntimeReflectionExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- Inheritance
-
RuntimeReflectionExtensions
Methods
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. |
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈