Discuss this help topic in SecureBlackbox Forum


TElOfficeOpenXMLSignedRelationshipPart     See also     

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

Adds a new relationship type to the list.


    int AddSourceType(string SourceType);

    Function AddSourceType(ByVal SourceType As String) As Integer

    function AddSourceType(const SourceType : WideString) : integer;

    int32_t AddSourceType(const sb_u16string &SourceType);
    int32_t AddSourceType(const std::wstring &SourceType);

    integer AddSourceType(string $SourceType)


  • SourceType - the relationship type to be added.

Return value

    Returns the index of the newly added item in the list on success, and -1 otherwise.


    Use this method to add relationship types to the list.

See also:     DeleteSourceType     HasSourceType     SourceTypes    

Discuss this help topic in SecureBlackbox Forum