Platform SDK: Exchange 2000 Server |
[This is preliminary documentation and subject to change.]
Returns the item's content stream.
[Visual Basic,VBScript] Function GetStream() as ADODB.Stream [C++] HRESULT GetStream(_Stream** pVal); [IDL] HRESULT GetStream([out,retval] _Stream** pVal);
The GetStream method returns an _Stream object reference on an ADO Stream object containing the content stream for the item. Only items that are of a stream-based content-class have associated streams. If you call GetStream on a collection-based item, an error is raised.
If you modify the content in the returned Stream object, you commit these changes by calling the _Stream::Flush method. If the Flush method is not called, changes are lost when the Stream object is destroyed.