| Visual Basic | |
|---|---|
Function ShowWarningDlg2( _ ByVal hParentWnd As System.Integer, _ ByVal bIncludeDeleted As System.Boolean _ ) As System.Boolean | |
| C# | |
|---|---|
System.bool ShowWarningDlg2( System.int hParentWnd, System.bool bIncludeDeleted ) | |
| C++/CLI | |
|---|---|
System.bool ShowWarningDlg2( & System.int hParentWnd, & System.bool bIncludeDeleted ) | |
Parameters
- hParentWnd
- Parent window handle for the dialog box
- bIncludeDeleted
- True to show the contents of the trash can, false to not
Return Value
True if the user chooses to continue the operation in spite of the warnings, false if the user cancels the operationSee the IEdmBatchDelete examples.
This method supersedes IEdmBatchDelete.ShowWarningDlg by adding the option to show the deleted objects in the trash can.
- S_OK: The method successfully executed.
- E_EDM_NOT_INITIALIZED: IEdmBatchDelete::ComputePermissions has not been called.
SOLIDWORKS PDM Professional 2009