Implements an undo object for an add-in application.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function SetApiUndoObject( _
ByVal PHandler As System.Object, _
ByVal DisplayName As System.String _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IModelDocExtension
Dim PHandler As System.Object
Dim DisplayName As System.String
Dim value As System.Boolean
value = instance.SetApiUndoObject(PHandler, DisplayName) |
C++/CLI | |
---|
System.bool SetApiUndoObject(
& System.Object^ PHandler,
& System.String^ DisplayName
) |
Parameters
- PHandler
- Undo object
- DisplayName
- Name to display in the SolidWorks undo list
Return Value
True if the undo object is implemented, false if not
Example
See Also
Availability
SolidWorks 2008 FCS, Revision Number 16.0