UploadCommandAddFile Method (String, Stream, Boolean) |
Add a file to the request without specifying an ID
Namespace: Innovator.ClientAssembly: Innovator.Client (in Innovator.Client.dll) Version: 2016.1.15.1759 (2016.01.15.1759)
Syntax public string AddFile(
string path,
Stream data,
bool isNew = true
)
Public Function AddFile (
path As String,
data As Stream,
Optional isNew As Boolean = true
) As String
Parameters
- 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