
- 358 -
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 Meaning
ArgumentException The length of the specified file name was zero (0).
PathTooLongException The specified file name is too long.
[Ex.] Add "Mydoc.txt" to the file to be sent.
[VB] MyFileTransfer.AddFile("Mydoc.txt")
[C#] MyFileTransfer.AddFile("Mydoc.txt");
Comentarios a estos manuales