Deployment Tools Foundation
GetStream Method (fieldName)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Record ► GetStream(String)
Gets a record stream field.
Declaration Syntax
Parameters- fieldName (String)
- Specifies the field of the Record to get.
Return ValueA Stream that reads the field data.
RemarksThis method is not capable of reading substorages. To extract a substorage, use GetStream(String, String).
Exceptions| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The field name does not match any
of the named fields in the Record. |