Adds an ActiveX control to the Task Pane view.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function AddControl( _
ByVal ClassName As System.String, _
ByVal LicKey As System.String _
) As System.Object |
Visual Basic (Usage) | |
---|
Dim instance As ITaskpaneView
Dim ClassName As System.String
Dim LicKey As System.String
Dim value As System.Object
value = instance.AddControl(ClassName, LicKey) |
C# | |
---|
System.object AddControl(
System.string ClassName,
System.string LicKey
) |
C++/CLI | |
---|
System.Object^ AddControl(
& System.String^ ClassName,
& System.String^ LicKey
) |
Parameters
- ClassName
- Name or class ID for the ActiveX control
- LicKey
- License key for the ActiveX control
Return Value
Pointer to the IUnknown interface for this ActiveX control
Example
Remarks
See Also
Availability
SOLIDWORKS 2006 FCS, Revision Number 14.0