Adds a component to the list of components to drag.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function IAddComponent( _
ByVal PComp As Component2, _
ByVal AppendFlag As System.Boolean _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IDragOperator
Dim PComp As Component2
Dim AppendFlag As System.Boolean
Dim value As System.Boolean
value = instance.IAddComponent(PComp, AppendFlag) |
C++/CLI | |
---|
System.bool IAddComponent(
& Component2^ PComp,
& System.bool AppendFlag
) |
Parameters
- PComp
- Component to add to the list
- AppendFlag
True to append the component to the list, false to clear the list before adding the component
Return Value
True if successful, false for failure; fixed components always return false (see Remarks)
Remarks
See Also
Availability
SolidWorks 2001Plus FCS, Revision Number 10.0