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)

Применяется к