Deployment Tools Foundation
GetStream Method (field)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Record ► GetStream(Int32)
Gets a record stream field.


- field (Int32)
- Specifies the field of the Record to get.

A Stream that reads the field data.

This method is not capable of reading substorages. To extract a substorage, use GetStream(Int32, String).
Win32 MSI API: MsiRecordReadStream

Exception | Condition |
---|---|
ArgumentOutOfRangeException | The field is less than 0 or greater than the
number of fields in the Record. |