Sets add-in callback commands.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function SetAddinCallbackInfo2( _
ByVal ModuleHandle As System.Long, _
ByVal AddinCallbacks As System.Object, _
ByVal Cookie As System.Integer _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As ISldWorks
Dim ModuleHandle As System.Long
Dim AddinCallbacks As System.Object
Dim Cookie As System.Integer
Dim value As System.Boolean
value = instance.SetAddinCallbackInfo2(ModuleHandle, AddinCallbacks, Cookie) |
Parameters
- ModuleHandle
- Instance handle of the add-in
- AddinCallbacks
- Object that includes the add-in callback methods
- Cookie
- Add-in ID; this is the same cookie you specify in ISwAddin::ConnectToSW
Return Value
True if the add-in callback commands are set, false if not
Example
See Also
Availability
SOLIDWORKS 2015 FCS, Revision Number 23.0