WindowsRuntimeMetadata Class

.NET Framework (current version)
 

Provides an event for resolving reflection-only type requests for types that are provided by Windows Metadata files, and methods for performing the resolution.

Namespace:   System.Runtime.InteropServices.WindowsRuntime
Assembly:  mscorlib (in mscorlib.dll)

System.Object
  System.Runtime.InteropServices.WindowsRuntime.WindowsRuntimeMetadata

public static class WindowsRuntimeMetadata

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticResolveNamespace(String, IEnumerable<String>)

Locates the Windows Metadata files for the specified namespace, given the specified locations to search.

System_CAPS_pubmethodSystem_CAPS_staticResolveNamespace(String, String, IEnumerable<String>)

Locates the Windows Metadata files for the specified namespace, given the specified locations to search.

NameDescription
System_CAPS_pubeventSystem_CAPS_staticDesignerNamespaceResolve

This API supports the product infrastructure and is not intended to be used directly from your code. Occurs when the resolution of a Windows Metadata file fails in the design environment.

System_CAPS_pubeventSystem_CAPS_staticReflectionOnlyNamespaceResolve

Occurs when the resolution of a Windows Metadata file fails in the reflection-only context.

Unlike the .NET Framework, assembly identity isn’t important for Windows Runtime types. In the Windows Runtime, Windows Metadata files (.WinMD files) contain only metadata, not code. Types can move from one Windows Metadata file to another in a service pack release, so it’s important to be able to locate the Windows Metadata files that are associated with a namespace.

System_CAPS_noteNote

Sub-namespaces don’t imply containment. That is, namespace A.B isn't contained in namespace A.

.NET Framework
Available since 4.5

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

Return to top
Show: