Discuss this help topic in SecureBlackbox Forum

TElOfficePackage.GetRelatedPartByType

TElOfficePackage     See also     


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


Finds package part, related to the specified one.

Declaration

[C#]
    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)

[Java]
    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