Adds a component to the list of components to drag.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function AddComponent( _
ByVal PDisp As System.Object, _
ByVal AppendFlag As System.Boolean _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IDragOperator
Dim PDisp As System.Object
Dim AppendFlag As System.Boolean
Dim value As System.Boolean
value = instance.AddComponent(PDisp, AppendFlag) |
C++/CLI | |
---|
System.bool AddComponent(
& System.Object^ PDisp,
& System.bool AppendFlag
) |
Parameters
- PDisp
- 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)
Example
Remarks
See Also
Availability
SOLIDWORKS 2001Plus FCS, Revision Number 10.0