'Declaration
Public Overloads Shared Sub CaptureFile( _ ByVal fileName As String, _ ByVal originalPath As String, _ ByVal displayName As String _ )
public static void CaptureFile( string fileName, string originalPath, string displayName )
public: static void CaptureFile( String^ fileName, String^ originalPath, String^ displayName )
Parameters
- fileName
- The path/name of an existing file.
- originalPath
- The original path of the file. Specify null or empty string to use the fileName.
- displayName
- The name that the file should use after it is captured. Specify null or empty string to use the original name.