Gets all of the components in the active configuration of this assembly.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function IGetComponents( _
ByVal TopLevelOnly As System.Boolean, _
ByVal Count As System.Integer _
) As Component2 |
Visual Basic (Usage) | |
---|
Dim instance As IAssemblyDoc
Dim TopLevelOnly As System.Boolean
Dim Count As System.Integer
Dim value As Component2
value = instance.IGetComponents(TopLevelOnly, Count) |
Parameters
- TopLevelOnly
- True to get only the number of components at the top level of the FeatureManager design tree, false to get the number of top level and all child components in the FeatureManager design tree
- Count
- Number of components
Return Value
- in-process, unmanaged C++: Pointer to an array of IComponent2
VBA, VB.NET, C#, and C++/CLI: Not supported
See In-process Methods for details about this type of method.
Remarks
See Also
Availability
SolidWorks 2006 FCS, Revision Number 14.