SOLIDWORKS PDM Professional API Help Send Feedback
GetParentInfo Method (IEdmCardControl5)
See Also 
EPDM.Interop.epdm Namespace > IEdmCardControl5 Interface : GetParentInfo Method (IEdmCardControl5)


plParentCtrlID
ID of the parent control; 0 if there is no parent control
plPageNo
0-based index of the tab control on which this control is located
Gets the parent control of this control.

Syntax

Visual Basic 
Sub GetParentInfo( _
   ByRef plParentCtrlID As System.Integer, _
   ByRef plPageNo As System.Integer _
) 
C# 
void GetParentInfo( 
   out System.int plParentCtrlID,
   out System.int plPageNo
)
C++/CLI 
void GetParentInfo( 
&   [Out] System.int plParentCtrlID,
&   [Out] System.int plPageNo
) 

Parameters

plParentCtrlID
ID of the parent control; 0 if there is no parent control
plPageNo
0-based index of the tab control on which this control is located

Example

See the IEdmCardControl6 examples.

Remarks

Return codes:

  • S_OK: The method successfully executed.
  • S_FALSE: The control does not have a parent.
 

See Also

Availability

SOLIDWORKS PDM Professional Version 5.2