GetStream Method (field)

Microsoft Deployment Tools

Deployment Tools Foundation GetStream Method (field)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerRecordGetStream(Int32)
Gets a record stream field.
Declaration Syntax
C# Visual Basic Visual C++
public Stream GetStream(
	int field
)
Public Function GetStream ( _
	field As Integer _
) As Stream
public:
Stream^ GetStream(
	int field
)
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.

Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller) Version: 3.0.0.0 (3.5.1623.0)