Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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 NotInheritable Class WindowsRuntimeMetadata

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticResolveNamespace(String, IEnumerable(Of String))

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

System_CAPS_pubmethodSystem_CAPS_staticResolveNamespace(String, String, IEnumerable(Of 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:
© 2017 Microsoft