Skip to main content
All docs
V25.2
  • SmartPasteBehavior.SmartPasteAsync(Byte[], String, CancellationToken) Method

    Assigns the correct values from the specified string or binary content to the appropriate items.

    Namespace: DevExpress.AIIntegration.Wpf

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

    Declaration

    public Task SmartPasteAsync(
        byte[] dataContent,
        string mediaType,
        CancellationToken token = default(CancellationToken)
    )

    Parameters

    Name Type Description
    dataContent Byte[]

    The binary content to analyze.

    mediaType String

    The media type (MIME type) of the binary data.

    Optional Parameters

    Name Type Default Description
    token CancellationToken null

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

    Returns

    Type Description
    Task

    The task.

    Remarks

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

    See Also