UploadCommandAddFile Method (String, String, Stream, Boolean) |
Add a file to the upload request
Namespace: Innovator.ClientAssembly: Innovator.Client (in Innovator.Client.dll) Version: 2016.1.15.1759 (2016.01.15.1759)
Syntax public string AddFile(
string id,
string path,
Stream data,
bool isNew = true
)
Public Function AddFile (
id As String,
path As String,
data As Stream,
Optional isNew As Boolean = true
) As String
Parameters
- id
- Type: SystemString
Aras ID of the file - path
- Type: SystemString
Path (or pseudo path) of the file - data
- Type: System.IOStream
Stream of data representing the file - isNew (Optional)
- Type: SystemBoolean
Is this a new file being added to the database for the first time?
Return Value
Type:
StringAML file string useful for building a larger AML statement
See Also