WindowsRuntimeMetadata Class

Definition

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

public ref class WindowsRuntimeMetadata abstract sealed
public static class WindowsRuntimeMetadata
type WindowsRuntimeMetadata = class
Public Class WindowsRuntimeMetadata
Inheritance
WindowsRuntimeMetadata

Remarks

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.

Note

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

Methods

ResolveNamespace(String, IEnumerable<String>)

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

ResolveNamespace(String, String, IEnumerable<String>)

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

Events

DesignerNamespaceResolve

Occurs when the resolution of a Windows Metadata file fails in the design environment.

ReflectionOnlyNamespaceResolve

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

Applies to