Skip to main content
You are viewing help content for pre-release software. This document and the features it describes are subject to change.
All docs
V25.2
  • TdxBackendDataConnectionCollection.Add(TdxBackendCustomDataConnectionClass) Method

    Creates a data connection of the required type and ads the connection to the collection.

    Declaration

    function Add(AItemClass: TdxBackendCustomDataConnectionClass): TdxBackendCustomDataConnection;

    Parameters

    Name Type Description
    AItemClass TdxBackendCustomDataConnectionClass

    A reference to the target data connection class (a terminal TdxBackendCustomDataConnection descendant).

    Returns

    Type Description
    TdxBackendCustomDataConnection

    The created data connection component (AItemClass specifies the component type).

    Tip

    Cast the returned object to the corresponding terminal TdxBackendCustomDataConnection class descendnat to access all public API members.

    Remarks

    Call the Add function to create any supported backend data connection. All created data connection components are accessible through the Items property.

    Delete Data Connections

    You can call Delete and Clear procedures to delete data connection components stored in the collection.

    See Also