Partager via


DisplayProperties.GetColorProfileAsync Méthode

Définition

Notes

DisplayProperties peut être modifié ou indisponible pour les versions après Windows 8.1. Utilisez plutôt DisplayInformation.

Obtient de façon asynchrone le profil de couleur ICC (International Color Consortium) par défaut associé à l’affichage physique.

public:
 static IAsyncOperation<IRandomAccessStream ^> ^ GetColorProfileAsync();
/// [Windows.Foundation.Metadata.Deprecated("DisplayProperties may be altered or unavailable for releases after Windows Phone 8.1. Instead, use DisplayInformation.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<IRandomAccessStream> GetColorProfileAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("DisplayProperties may be altered or unavailable for releases after Windows Phone 8.1. Instead, use DisplayInformation.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
 static IAsyncOperation<IRandomAccessStream> GetColorProfileAsync();
[Windows.Foundation.Metadata.Deprecated("DisplayProperties may be altered or unavailable for releases after Windows Phone 8.1. Instead, use DisplayInformation.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<IRandomAccessStream> GetColorProfileAsync();
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("DisplayProperties may be altered or unavailable for releases after Windows Phone 8.1. Instead, use DisplayInformation.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
public static IAsyncOperation<IRandomAccessStream> GetColorProfileAsync();
function getColorProfileAsync()
Public Shared Function GetColorProfileAsync () As IAsyncOperation(Of IRandomAccessStream)

Retours

Objet qui gère la récupération asynchrone du profil de couleur.

Attributs

S’applique à

Voir aussi