Discuss this help topic in SecureBlackbox Forum

TElOfficeOpenXMLRelationships.CreateRelationship

TElOfficeOpenXMLRelationships     See also     


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


Creates a new relationship.

Declaration

[C#/Java]
    TElOfficeOpenXMLRelationship CreateRelationship(string Target, TSBOfficeOpenXMLTargetMode TargetMode, string RelationshipType, string ID);

[VB.NET]
    Function CreateRelationship(ByVal Target As String, ByVal TargetMode As TSBOfficeOpenXMLTargetMode, ByVal RelationshipType As String, ByVal ID As String) As TElOfficeOpenXMLRelationship

[Pascal]
    function CreateRelationship(const Target : WideString; TargetMode : TSBOfficeOpenXMLTargetMode; const RelationshipType, ID : WideString) : TElOfficeOpenXMLRelationship;

[C++]
    TElOfficeOpenXMLRelationshipHandle CreateRelationship(const sb_u16string &Target, TSBOfficeOpenXMLTargetMode TargetMode, const sb_u16string &RelationshipType, const sb_u16string &ID);
    TElOfficeOpenXMLRelationshipHandle CreateRelationship(const std::wstring &Target, TSBOfficeOpenXMLTargetMode TargetMode, const std::wstring &RelationshipType, const std::wstring &ID);

[PHP]
    TElOfficeOpenXMLRelationship CreateRelationship(string $Target, integer $TargetMode, string $RelationshipType, string $ID)

Parameters

  • Target - specifies target of the relationship to be added
  • TargetMode - specifies whether relationship points to a remote, or local target
  • RelationshipType - specifies type of the relationship to be added
  • ID - specifies ID of the relationship to be added

Values:


Return value

    Returns a newly created relationship object.

Description

    Use this method to create a new relationship.

See also:     Relationships    

Discuss this help topic in SecureBlackbox Forum