LineDisplayWindow.ReadCharacterAtCursorAsync Method

Definition

Attempts to asynchronously read the currently displayed character at the current cursor position.

public:
 virtual IAsyncOperation<unsigned int> ^ ReadCharacterAtCursorAsync() = ReadCharacterAtCursorAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<uint32_t> ReadCharacterAtCursorAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<uint> ReadCharacterAtCursorAsync();
function readCharacterAtCursorAsync()
Public Function ReadCharacterAtCursorAsync () As IAsyncOperation(Of UInteger)

Returns

IAsyncOperation<UInt32>

Windows.Foundation.IAsyncOperation

IAsyncOperation<uint32_t>

Returns the code for the character at the current cursor position. Returns 0 if the method fails.

Attributes

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Remarks

This method requires LineDisplayCapabilities.CanReadCharacterAtCursor to be True to be succesfully executed.

Applies to