Fired before a command, including a PropertyManager page, executes or opens.
.NET Syntax
Visual Basic (Declaration) | |
---|
Public Delegate Function DSldWorksEvents_CommandOpenPreNotifyEventHandler( _
ByVal Command As System.Integer, _
ByVal UserCommand As System.Integer _
) As System.Integer |
C# | |
---|
public delegate System.int DSldWorksEvents_CommandOpenPreNotifyEventHandler(
System.int Command,
System.int UserCommand
) |
C++/CLI | |
---|
public delegate System.int DSldWorksEvents_CommandOpenPreNotifyEventHandler(
& System.int Command,
& System.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