| Visual Basic | |
|---|---|
Sub OnCancel() | |
| C# | |
|---|---|
void OnCancel() | |
| C++/CLI | |
|---|---|
void OnCancel(); | |
See the IEdmCardView6 examples.
Call this method when the card view is cancelled. This method ensures that all serial numbers generated in the card (by right-clicking in edit boxes linked to serial numbers) are pushed back to the database so they can be reused. If you do not call this method, serial numbers are not restored to the database, and gaps in the serial number series occur.
- S_OK: The method successfully executed.
- S_FALSE: One of the arguments is invalid.
SOLIDWORKS PDM Professional Version 6.0