CloseAllFolders method
The method allows all open folders to be closed.
- Method
- short CloseAllFolders( )
- Description
- All open folders are closed. All open documents associated with the folders are closed.
- Return Value
- Refer to return codes.
- Also see
- OpenFolder and CloseFolder methods
C/C + +
CArsOle * pArsCtrl;
short rc;
.
.
rc = pArsCtrl-> CloseAllFolders( );
if ( rc != ARS_OLE_RC_SUCCESS )
ERROR;
.
.
Visual Basic
Dim rc As Integer
.
.
.
rc = ArsOle.CloseAllFolders()
If rc <> ARS_OLE_RC_SUCCESS Then
MsgBox "ERROR"
End
End If
.
.
.