-api-id | -api-type |
---|---|
M:Windows.Devices.PointOfService.ClaimedLineDisplay.TrySetDescriptorAsync(System.UInt32,Windows.Devices.PointOfService.LineDisplayDescriptorState) |
winrt method |
Attempts to asynchronously set a descriptor using the specified attribute.
The descriptor to be set. Must have a value between 0 and LineDisplayCapabilities.SupportedDescriptors - 1.
The state to give to the descriptor.
Returns True if the descriptor was set successfully; otherwise, False.
LineDisplayCapabilities.SupportedDescriptors must be greater than zero for this method to be successfully executed.