AddFile
Adds a file to be transferred.
■
Syntax
[VB]
Public Sub AddFile(ByVal fileName As String)
[C#]
public void AddFile(string fileName);
■
Parameters
fileName
[in] Name of the file to be added
(This should not include the path.)
Maximum length: 90 characters
Return value
■
None
Exceptions
■
Name of Exception
ArgumentException
PathTooLongException
[Ex.] Add "Mydoc.txt" to the file to be sent.
[VB] MyFileTransfer.AddFile("Mydoc.txt")
[C#] MyFileTransfer.AddFile("Mydoc.txt");
Meaning
The length of the specified file name was zero (0).
The specified file name is too long.
- 321 -