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 Value
A Stream that reads the field data.
Remarks
This 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. |