Discuss this help topic in SecureBlackbox Forum

TElOfficeOpenXMLSignedRelationshipPart.AddSourceType

TElOfficeOpenXMLSignedRelationshipPart     See also     


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


Adds a new relationship type to the list.

Declaration

[C#/Java]
    int AddSourceType(string SourceType);

[VB.NET]
    Function AddSourceType(ByVal SourceType As String) As Integer

[Pascal]
    function AddSourceType(const SourceType : WideString) : integer;

[C++]
    int32_t AddSourceType(const sb_u16string &SourceType);
    int32_t AddSourceType(const std::wstring &SourceType);

[PHP]
    integer AddSourceType(string $SourceType)

Parameters

  • 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.

Description

    Use this method to add relationship types to the list.

See also:     DeleteSourceType     HasSourceType     SourceTypes    

Discuss this help topic in SecureBlackbox Forum