Uploader for Silverlight
AddFile(String,Stream) Method






Name of the file as it will be seen by the server.
System.IO.Stream that contains the data to be uploaded.
Adds a System.IO.Stream to the Files collection that will be sent to the server when the BeginUploadFiles method is invoked.
Syntax
'Declaration
 
Public Overloads Sub AddFile( _
   ByVal name As System.String, _
   ByVal file As System.IO.Stream _
) 
'Usage
 
Dim instance As C1Uploader
Dim name As System.String
Dim file As System.IO.Stream
 
instance.AddFile(name, file)
public void AddFile( 
   System.string name,
   System.IO.Stream file
)
public procedure AddFile( 
    name: System.String;
    file: System.IO.Stream
); 
public function AddFile( 
   name : System.String,
   file : System.IO.Stream
);
public: void AddFile( 
   System.string* name,
   System.IO.Stream* file
) 
public:
void AddFile( 
   System.String^ name,
   System.IO.Stream^ file
) 

Parameters

name
Name of the file as it will be seen by the server.
file
System.IO.Stream that contains the data to be uploaded.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

C1Uploader Class
C1Uploader Members
Overload List

Send Feedback