Skip to main content
All docs
V25.1
  • SmartPasteRequest(String, IList<SmartPasteRequest.ItemInfo>, Byte[], String) Constructor

    Initializes a new instance of the SmartPasteRequest class with specified settings.

    Namespace: DevExpress.AIIntegration.Extensions

    Assembly: DevExpress.AIIntegration.v25.1.dll

    NuGet Package: DevExpress.AIIntegration

    Declaration

    public SmartPasteRequest(
        string data,
        IList<SmartPasteRequest.ItemInfo> fields,
        byte[] dataContent = null,
        string mediaType = null
    )

    Parameters

    Name Type Description
    data String

    Raw data that is processed in a Smart Paste operation. This value is assigned to the Data property.

    fields IList<SmartPasteRequest.ItemInfo>

    Information about items involved in the Smart Paste operation. This value is assigned to the Items property.

    Optional Parameters

    Name Type Default Description
    dataContent Byte[] null

    The binary content to analyze. This value is assigned to the DataContent property.

    mediaType String null

    The media type (MIME type) of the binary data. This value is assigned to the MediaType property.

    See Also