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.
![](collapse_all.gif)
![](collapse_all.gif)
The stream persists if the Record is inserted into the Database and the Database is committed.
![](collapse_all.gif)
Exception | Condition |
---|---|
ArgumentOutOfRangeException | The field name does not match any
of the named fields in the Record. |