Click or drag to resize
RadCloudUploadAddFile Method
Creates a new CloudUploadFile instance and adds it for uploading.

Namespace: Telerik.Windows.Cloud.Controls
Assembly: Telerik.Windows.Cloud.Controls (in Telerik.Windows.Cloud.Controls.dll) Version: 2017.3.1018.40 (2017.3.1018.40)
Syntax
public CloudUploadFile AddFile(
	string fileName,
	Stream fileStream,
	bool autoCloseStream
)

Parameters

fileName
Type: SystemString
The file name of the file to be added.
fileStream
Type: System.IOStream
The file stream of the file to be added.
autoCloseStream
Type: SystemBoolean
Indicating whether the stream should be auto closed.

Return Value

Type: CloudUploadFile
The newly created CloudUploadFile instance.
See Also