|
ExtensionGetAllChildren Method
|
Returns an array of all children components from the specified component.
Namespace:
CADSharpTools.SOLIDWORKS
Assembly:
CADSharpTools.PDM (in CADSharpTools.PDM.dll) Version: 1.4.16.0 (1.4.16)
Syntaxpublic static MethodReturn<Component2[]> GetAllChildren(
this Component2 swComponent
)
<ExtensionAttribute>
Public Shared Function GetAllChildren (
swComponent As Component2
) As MethodReturn(Of Component2())
Parameters
- swComponent
- Type: Component2
Component object.
Return Value
Type:
MethodReturnComponent2MethodReturn of an array of Component2
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Component2. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
RemarksIf the method fails, the return object will return the found components in
Value.
See Also