Skip to main content
You are viewing help content for a version that is no longer maintained/updated.
All docs
V21.2
  • .NET Framework 4.5.2+
    • The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.

    SnapDocumentServer.BeforeDataSourceExport Event

    Occurs before exporting a data source.

    Namespace: DevExpress.Snap

    Assembly: DevExpress.Docs.v21.2.dll

    NuGet Package: DevExpress.Document.Processor

    Declaration

    public event BeforeDataSourceExportEventHandler BeforeDataSourceExport

    Event Data

    The BeforeDataSourceExport event's data class is BeforeDataSourceExportEventArgs. The following properties provide information specific to this event:

    Property Description
    Data Returns the data stored in the connected data source.
    DataSource Provides access to the connected data source.
    DataSourceName Returns the data source name.

    Remarks

    Handle the BeforeDataSourceExport event to provide a custom mechanism for saving a data source along with the document, by assigning a Byte array to the BeforeDataSourceExportEventArgs.Data property.

    See Also