共用方式為


DisplayProperties.GetColorProfileAsync 方法

定義

注意

Windows 8.1之後,可能會變更或無法使用DisplayProperties。 請改用 DisplayInformation

以非同步方式取得與實體顯示器相關聯的預設國際色彩聯盟 (ICC) 色彩設定檔。

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)

傳回

管理色彩設定檔非同步擷取的物件。

屬性

適用於

另請參閱