Save the file attachment to a stream.
Namespace:
BargeExAssembly: BargeEx (in BargeEx.dll)
Version: 3.0.400.140 (3.0.400.140)
Syntax
| C# |
|---|
public void Save( Stream outputStream ) |
| Visual Basic (Declaration) |
|---|
Public Sub Save ( _ outputStream As Stream _ ) |
| Visual C++ |
|---|
public: void Save( Stream^ outputStream ) |
Parameters
- outputStream
- Type: System.IO..::.Stream
Stream to write the file attachment to.
Remarks
Writes the contents of the
Contents
property to the inputStream
parameter.
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | The value of the outputStream parameter is a null reference (Nothing in Visual Basic). |