Fired before a command, including a PropertyManager page, executes or opens.
.NET Syntax
Visual Basic (Declaration) | |
---|
Public Delegate Function DSldWorksEvents_CommandOpenPreNotifyEventHandler( _
ByVal Command As Integer, _
ByVal UserCommand As Integer _
) As Integer |
Visual Basic (Usage) | |
---|
Dim instance As New DSldWorksEvents_CommandOpenPreNotifyEventHandler(AddressOf HandlerMethod)
|
C# | |
---|
public delegate int DSldWorksEvents_CommandOpenPreNotifyEventHandler(
int Command,
int UserCommand
) |
C++/CLI | |
---|
public delegate int DSldWorksEvents_CommandOpenPreNotifyEventHandler(
& int Command,
& int UserCommand
) |
Parameters
- Command
- SolidWorks command ID as defined in swCommands_e
- UserCommand
- Third-party application's command item's ID (see Remarks)
Return Value
0 to execute the command or open a PropertyManager page, 1 to not
Example
Remarks
Availability
SolidWorks 2011 FCS, Revision Number 19.0