'Declaration Public Overloads Function Add( _ ByVal sourceFileName As String, _ ByVal destinationFileName As String _ ) As Integer
'Usage Dim instance As FileCopyList Dim sourceFileName As String Dim destinationFileName As String Dim value As Integer value = instance.Add(sourceFileName, destinationFileName)
public int Add( string sourceFileName, string destinationFileName )
Parameters
- sourceFileName
- The path and name of the file to copy.
- destinationFileName
- The path and name of the destination file.
Return Value
The zero-based index at which the file was added.