Deployment Tools Foundation
SetStream Method (fieldName, stream)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Record ► SetStream(String, Stream)
Sets a record stream field from a Stream object. Stream data cannot be inserted into temporary fields.
Declaration Syntax
RemarksThe stream persists if the Record is inserted into the Database and the Database is committed.
Exceptions| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The field name does not match any
of the named fields in the Record. |