Add Method
Adds a document to the library specified by DocumentLibrary .
Syntax
[VB.NET] Public Sub Add(ByVal RemoteFile As String)
[C#] public void Add(string remoteFile);
Remarks
The local document is specified by the LocalFile property. RemoteFile specifies the name of the document on the server. If RemoteFile is empty, LocalFile will be used as the document name on the server.
Note: If SetUploadStream has been called with a valid stream, LocalFile will be ignored.