Back to Devexpress

SmartPasteRequest(String, IList<SmartPasteRequest.ItemInfo>, Byte[], String) Constructor

corelibraries-devexpress-dot-aiintegration-dot-extensions-dot-smartpasterequest-dot-smartpasterequest-x28-string-ilist-smartpasterequest-dot-iteminfo-byte-string-x29.md

latest2.9 KB
Original Source

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.2.dll

NuGet Package : DevExpress.AIIntegration

Declaration

csharp
public SmartPasteRequest(
    string data,
    IList<SmartPasteRequest.ItemInfo> fields,
    byte[] dataContent = null,
    string mediaType = null
)
vb
Public Sub New(
    data As String,
    fields As IList(Of SmartPasteRequest.ItemInfo),
    dataContent As Byte() = Nothing,
    mediaType As String = Nothing
)

Parameters

NameTypeDescription
dataString

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

NameTypeDefaultDescription
dataContentByte[]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

SmartPasteRequest Class

SmartPasteRequest Members

DevExpress.AIIntegration.Extensions Namespace