Condividi tramite


ResourceContext.CreateMatchingContext Metodo

Definizione

Crea un nuovo oggetto ResourceContext che corrisponde a un set fornito di qualificatori.

Nota

CreateMatchingContext può essere modificato o non disponibile per le versioni dopo Windows 8.1. Usare invece 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

Parametri

result

IIterable<ResourceQualifier>

IEnumerable<ResourceQualifier>

Elenco dei qualificatori da associare.

Restituisce

Nuovo Oggetto ResourceContext.

Attributi

Si applica a