| Visual Basic | |
|---|---|
Sub Rename( _ ByVal lParentWnd As System.Integer, _ ByVal bsName As System.String, _ Optional ByVal bRenameLocalCopies As System.Boolean _ ) | |
| C# | |
|---|---|
void Rename( System.int lParentWnd, System.string bsName, System.bool bRenameLocalCopies ) | |
| C++/CLI | |
|---|---|
void Rename( & System.int lParentWnd, & System.String^ bsName, & System.bool bRenameLocalCopies ) | |
Parameters
- lParentWnd
- Parent window handle
- bsName
- New file name
- bRenameLocalCopies
- Optional; true to rename local copies, false to not; default is true
See Return Codes for the complete list of potential success and error codes. The following are just a few examples:
- S_OK: The method successfully executed.
- E_EDM_NAME_ALREADY_EXISTS: The specified name already exists.
- E_EDM_PERMISSION_DENIED: The user lacks permission to rename this file.
SOLIDWORKS PDM Professional Version 5.2