GetStream Method (fieldName)

Microsoft Deployment Tools

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

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