Okapi .NET Library

IFilter.CloseOutput Method 

 [This is preliminary documentation and subject to change.]

Closes the current output.

[Visual Basic]
Function CloseOutput() As String
[C#]
string CloseOutput();
[C++]
String* CloseOutput();
[JScript]
function CloseOutput(): String;

Return Value

The output string if the output was a string or a null reference (Nothing in Visual Basic) if the output was a file.

Remarks

Use this method to close the last output you opened. The method will return a null reference (Nothing in Visual Basic) if the output was opened as a file (using OpenOutputFile). It will return the actual output string if the output was opened as a string (using OpenOutputString). You must call CloseOutput before calling CloseInput, as some filters may need to have some input information in order to generate the output.

See Also

IFilter Interface | Okapi.Library.Filter Namespace | OpenOutputFile | OpenOutputString