Deployment Tools Foundation
GetStream Method (field)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Record ► GetStream(Int32)
Gets a record stream field.
Declaration Syntax
Parameters
- field (Int32)
- Specifies the field of the Record to get.
Return Value
A Stream that reads the field data.
Remarks
This method is not capable of reading substorages. To extract a substorage, use GetStream(Int32, String).
Win32 MSI API: MsiRecordReadStream
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | The field is less than 0 or greater than the
number of fields in the Record. |