Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 1.08 KB

claimedlinedisplay_trysetdescriptorasync_1262854382.md

File metadata and controls

33 lines (21 loc) · 1.08 KB
-api-id -api-type
M:Windows.Devices.PointOfService.ClaimedLineDisplay.TrySetDescriptorAsync(System.UInt32,Windows.Devices.PointOfService.LineDisplayDescriptorState)
winrt method

Windows.Devices.PointOfService.ClaimedLineDisplay.TrySetDescriptorAsync

-description

Attempts to asynchronously set a descriptor using the specified attribute.

-parameters

-param descriptor

The descriptor to be set. Must have a value between 0 and LineDisplayCapabilities.SupportedDescriptors - 1.

-param descriptorState

The state to give to the descriptor.

-returns

Returns True if the descriptor was set successfully; otherwise, False.

-remarks

LineDisplayCapabilities.SupportedDescriptors must be greater than zero for this method to be successfully executed.

-see-also

-examples