GetStream Method (fieldName)

Microsoft Deployment Compression & Installer

Copy image CopyHover image
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
Stream
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.dll) Version: 3.0.0.0 (3.9.1006.0)