ClaimedLineDisplay.TryUpdateAttributesAsync(LineDisplayAttributes) 方法

定義

更新裝置屬性。

public:
 virtual IAsyncOperation<bool> ^ TryUpdateAttributesAsync(LineDisplayAttributes ^ attributes) = TryUpdateAttributesAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> TryUpdateAttributesAsync(LineDisplayAttributes const& attributes);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> TryUpdateAttributesAsync(LineDisplayAttributes attributes);
function tryUpdateAttributesAsync(attributes)
Public Function TryUpdateAttributesAsync (attributes As LineDisplayAttributes) As IAsyncOperation(Of Boolean)

參數

attributes
LineDisplayAttributes

要套用至裝置的更新屬性。

傳回

如果已成功更新屬性,則傳回 True;否則為 False。

屬性

Windows 需求

裝置系列
Windows 10 Fall Creators Update (已於 10.0.16299.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v5.0 引進)

適用於