<xml> </xml>

SOLIDWORKS PDM Professional API Help | Send Feedback
OnCancel Method (IEdmCardView6)
See Also

Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: Visual Basic Language Filter: C# Language Filter: C++/CLI

EPDM.Interop.epdm Namespace > IEdmCardView6 Interface : OnCancel Method (IEdmCardView6)

Visual Basic
C#
C++/CLI
Rolls back all changes made in the card view after it is cancelled.

# Syntax

Visual Basic |
--- | ---

    Sub OnCancel()

C# |
--- | ---

    void OnCancel()

C++/CLI |
--- | ---

    void OnCancel();

# Example

See the IEdmCardView6 examples.

# Remarks

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.

Return codes:

- S_OK: The method successfully executed.
- S_FALSE: One of the arguments is invalid.

# See Also

####

IEdmCardView6 Interface
IEdmCardView6 Members

# Availability

SOLIDWORKS PDM Professional Version 6.0