Freigeben über


ResourceContext.CreateMatchingContext Methode

Definition

Erstellt einen neuen ResourceContext , der einem angegebenen Satz von Qualifizierern entspricht.

Hinweis

CreateMatchingContext kann für Releases nach Windows 8.1 geändert oder nicht mehr verfügbar sein. Verwenden Sie stattdessen ResourceContext.GetForCurrentView.OverrideToMatch.

public:
 static ResourceContext ^ CreateMatchingContext(IIterable<ResourceQualifier ^> ^ result);
/// [Windows.Foundation.Metadata.Deprecated("CreateMatchingContext may be altered or unavailable for releases after Windows 8.1. Instead, use ResourceContext.GetForCurrentView.OverrideToMatch.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
 static ResourceContext CreateMatchingContext(IIterable<ResourceQualifier> const& result);
/// [Windows.Foundation.Metadata.Deprecated("CreateMatchingContext may be altered or unavailable for releases after Windows 8.1. Instead, use ResourceContext.GetForCurrentView.OverrideToMatch.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
 static ResourceContext CreateMatchingContext(IIterable<ResourceQualifier> const& result);
 static ResourceContext CreateMatchingContext(IIterable<ResourceQualifier> const& result);
[Windows.Foundation.Metadata.Deprecated("CreateMatchingContext may be altered or unavailable for releases after Windows 8.1. Instead, use ResourceContext.GetForCurrentView.OverrideToMatch.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))]
public static ResourceContext CreateMatchingContext(IEnumerable<ResourceQualifier> result);
[Windows.Foundation.Metadata.Deprecated("CreateMatchingContext may be altered or unavailable for releases after Windows 8.1. Instead, use ResourceContext.GetForCurrentView.OverrideToMatch.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
public static ResourceContext CreateMatchingContext(IEnumerable<ResourceQualifier> result);
public static ResourceContext CreateMatchingContext(IEnumerable<ResourceQualifier> result);
function createMatchingContext(result)
Public Shared Function CreateMatchingContext (result As IEnumerable(Of ResourceQualifier)) As ResourceContext

Parameter

result

IIterable<ResourceQualifier>

IEnumerable<ResourceQualifier>

Die Liste der Qualifizierer, die abgeglichen werden sollen.

Gibt zurück

Der neue ResourceContext.

Attribute

Gilt für: