Closes the value stream. Any buffered writes are automatically flushed.
Throws a StreamNotOpenException if the stream is not open.
Syntax
public void Close()
Examples
– Writes a binary book cover image and closes the image file. In the following
example, book is the instance of an MBO and
cover is a BigBinary attribute
Book book = Book.FindByPrimaryKey(bookID);
Sybase.Persistence.BigBinary image = book.Cover;
image.OpenForWrite(256);
// ...
image.Close();