Deployment Tools Foundation
GetStream Method (field)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Record ► GetStream(Int32)
Gets a record stream field.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public Stream GetStream( int field )
Public Function GetStream ( field As Integer ) As Stream
public: Stream^ GetStream( int field )
member GetStream : field : int -> Stream
Parameters
- field (Int32)
- Specifies the field of the Record to get.
Return Value
Stream
A Stream that reads the field data.
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. |
Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.11.1.2318)