Copies a local file to a new name.
The source file's location and extension are captured and applied to the copy.
Use Check-In (iLogic) command for adding the new file to Vault.
The source file's location and extension are captured and applied to the copy.
Use Check-In (iLogic) command for adding the new file to Vault.
Namespace: Autodesk.iLogic.Vault
Assembly: Autodesk.iLogic.Vault (in Autodesk.iLogic.Vault.dll) Version: 29.0
Syntax
VB
Public Function CopyLocalFile ( mFullFileName As String, mNewNameNoExtension As String ) As String
C#
public string CopyLocalFile( string mFullFileName, string mNewNameNoExtension )
Parameters
- mFullFileName
- Type: System.String
File name including full path - mNewNameNoExtension
- Type: System.String
The new target name of the copied file. Path and extension will transfer from the source file.
Return Value
Type: StringLocal path/filename