Discuss this help topic in SecureBlackbox Forum

TElOfficeOpenXMLRelationships.Add

TElOfficeOpenXMLRelationships     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Adds relationships to the list.

Declaration

[C#/Java]
    int Add(TElOfficeOpenXMLRelationship ARelationship);
    int Add(string ID, string Target, string RelationshipType);

[VB.NET]
    Function Add(ByVal ARelationship As TElOfficeOpenXMLRelationship) As Integer
    Function Add(ByVal ID As String, ByVal Target As String, ByVal RelationshipType As String) As Integer

[Pascal]
    function Add(ARelationship : TElOfficeOpenXMLRelationship) : integer;
    function Add(const ID, Target, RelationshipType : WideString) : integer;

[C++]
    int32_t Add(TElOfficeOpenXMLRelationship &ARelationship);
    int32_t Add(TElOfficeOpenXMLRelationship *ARelationship);
    int32_t Add(const sb_u16string &ID, const sb_u16string &Target, const sb_u16string &RelationshipType);
    int32_t Add(const std::wstring &ID, const std::wstring &Target, const std::wstring &RelationshipType);

[PHP]
    integer Add(TElOfficeOpenXMLRelationship $ARelationship)
    integer Add(string $ID, string $Target, string $RelationshipType)

Parameters

  • ARelationship - relationship to be added
  • ID - specifies ID of the relationship to be added
  • Target - specifies target of the relationship to be added
  • RelationshipType - specifies type of the relationship to be added

Return value

    Returns the index of the newly added element in the list.

Description

    Use this method to add relationships to the list.

See also:     Delete     Insert     Relationships    

Discuss this help topic in SecureBlackbox Forum