ExcelAI
UploadFile Method
|
Uploads a file to the AI service.
Namespace:
Spire.Xls.AI
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public string UploadFile(
string fileName,
Stream stream
)
Public Function UploadFile (
fileName As String,
stream As Stream
) As String
public:
String^ UploadFile(
String^ fileName,
Stream^ stream
)
member UploadFile :
fileName : string *
stream : Stream -> string
Parameters
-
fileName
-
Type:
System
String
The name of the file to be uploaded.
-
stream
-
Type:
System.IO
Stream
The stream containing the file data.
Return Value
Type:
String
result contains the file path on ai server as a string.
See Also