WindowsRuntimeMetadata Class

.NET Framework 4.5

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

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

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

public static class WindowsRuntimeMetadata

The WindowsRuntimeMetadata type exposes the following members.

  NameDescription
Public methodStatic memberResolveNamespace(String, IEnumerable<String>)Locates the Windows Metadata files for the specified namespace, given the specified locations to search.
Public methodStatic memberResolveNamespace(String, String, IEnumerable<String>)Locates the Windows Metadata files for the specified namespace, given the specified locations to search.
Top

  NameDescription
Public eventStatic memberDesignerNamespaceResolveInfrastructure. Occurs when the resolution of a Windows Metadata file fails in the design environment.
Public eventStatic memberReflectionOnlyNamespaceResolveOccurs when the resolution of a Windows Metadata file fails in the reflection-only context.
Top

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.

NoteNote

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

.NET Framework

Supported in: 4.6, 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.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft