Discuss this help topic in SecureBlackbox Forum

TElOfficePackage.GetRelatedPartByType

TElOfficePackage     See also     


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


Finds package part, related to the specified one.

Declaration

[C#/Java]
    TElOfficePackagePart GetRelatedPartByType(TElOfficePackagePart Part, string RelType);

[VB.NET]
    Function GetRelatedPartByType(ByVal Part As TElOfficePackagePart, ByVal RelType As String) As TElOfficePackagePart

[Pascal]
    function GetRelatedPartByType(Part : TElOfficePackagePart; const RelType : WideString) : TElOfficePackagePart;

[C++]
    TElOfficePackagePartHandle GetRelatedPartByType(TElOfficePackagePart &Part, const sb_u16string &RelType);
    TElOfficePackagePartHandle GetRelatedPartByType(TElOfficePackagePart *Part, const sb_u16string &RelType);
    TElOfficePackagePartHandle GetRelatedPartByType(TElOfficePackagePart &Part, const std::wstring &RelType);
    TElOfficePackagePartHandle GetRelatedPartByType(TElOfficePackagePart *Part, const std::wstring &RelType);

[PHP]
    TElOfficePackagePart GetRelatedPartByType(TElOfficePackagePart $Part, string $RelType)

Parameters

  • Part - part, which relative should be found
  • RelType - relationship type of the package part

Return value

    Returns a reference to the desired package part object.

Description

    Use this method to search for the package part, related to the specified part, by the relationship type.

See also:     GetPart     GetPackageRelatedPartByType     Parts     Relationships    

Discuss this help topic in SecureBlackbox Forum