| Visual Basic | |
|---|---|
Function ComputePermissions( _ ByVal bDestroy As System.Boolean, _ Optional ByVal poCallback As EdmCallback _ ) As System.Boolean | |
| C# | |
|---|---|
System.bool ComputePermissions( System.bool bDestroy, EdmCallback poCallback ) | |
| C++/CLI | |
|---|---|
System.bool ComputePermissions( & System.bool bDestroy, & EdmCallback^ poCallback ) | |
Parameters
- bDestroy
- True to permanently delete files and folders, false to move files and folders to the recycle bin
- poCallback
- Optional pointer to a class that implements IEdmCallback to provide delete progress feedback to the user
Return Value
True if no errors occurred, false otherwiseSee the IEdmBatchDelete examples.
Before calling this method, you must add files and folders to the batch using IEdmBatchDelete::AddFileByID, IEdmBatchDelete::AddFileByPath, and IEdmBatchDelete::AddFolder.
If errors occurred during IEdmBatchDelete::ComputePermissions, call IEdmBatchDelete::ShowWarningDlg.
- S_OK: The method successfully executed.
- S_FALSE: One of the arguments is invalid.
SOLIDWORKS PDM Professional 2008