Deployment Tools Foundation
GetStream Method (fieldName)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller ► Record ► GetStream(String)
Gets a record stream field.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public Stream GetStream( string fieldName )
Public Function GetStream ( fieldName As String ) As Stream
public: Stream^ GetStream( String^ fieldName )
member GetStream : fieldName : string -> Stream
Parameters
- fieldName (String)
- 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(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.11.1.2318)