RuntimeReflectionExtensions Class

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Provides methods that retrieve information about types at run time.

Inheritance Hierarchy

System..::.Object
System.Reflection..::.RuntimeReflectionExtensions

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)

Syntax

<ExtensionAttribute> _
Public NotInheritable Class RuntimeReflectionExtensions
public static class RuntimeReflectionExtensions

The RuntimeReflectionExtensions type exposes the following members.

Methods

Name Description
GetMethodInfo Gets an object that represents the method represented by the specified delegate.
GetRuntimeBaseDefinition Retrieves an object that represents the specified method on the direct or indirect base class where the method was first declared.
GetRuntimeEvent Retrieves an object that represents the specified event.
GetRuntimeEvents Retrieves a collection that represents all the events defined on a specified type.
GetRuntimeField Retrieves an object that represents a specified field.
GetRuntimeFields Retrieves a collection that represents all the fields defined on a specified type.
GetRuntimeInterfaceMap Returns an interface mapping for the specified type and the specified interface.
GetRuntimeMethod Retrieves an object that represents a specified method.
GetRuntimeMethods Retrieves a collection that represents all methods defined on a specified type.
GetRuntimeProperties Retrieves a collection that represents all the properties defined on a specified type.
GetRuntimeProperty Retrieves an object that represents a specified property.

Top

Version Information

Windows Phone OS

Supported in: 8.1, 8.0

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Reflection Namespace