Back to Devexpress

SmartPasteBehavior.SmartPasteAsync(String, CancellationToken) Method

wpf-devexpress-dot-aiintegration-dot-wpf-dot-smartpastebehavior-dot-smartpasteasync-x28-system-dot-string-system-dot-threading-dot-cancellationtoken-x29.md

latest2.0 KB
Original Source

SmartPasteBehavior.SmartPasteAsync(String, CancellationToken) Method

Executes SmartPaste and assigns the right values from the specified string to the appropriate items.

Namespace : DevExpress.AIIntegration.Wpf

Assembly : DevExpress.AIIntegration.Wpf.v25.2.dll

NuGet Package : DevExpress.AIIntegration.Wpf

Declaration

csharp
public Task SmartPasteAsync(
    string inputText,
    CancellationToken token = default(CancellationToken)
)
vb
Public Function SmartPasteAsync(
    inputText As String,
    token As CancellationToken = Nothing
) As Task

Parameters

NameTypeDescription
inputTextString

The source string.

|

Optional Parameters

NameTypeDefaultDescription
tokenCancellationTokennull

The cancellation token that allows the operation to be canceled if needed.

|

Returns

TypeDescription
Task

The task.

|

Remarks

Refer to the following help topic for additional information and examples: Smart Paste.

See Also

SmartPasteBehavior Class

SmartPasteBehavior Members

DevExpress.AIIntegration.Wpf Namespace