Saves the EntityCacheState to a Stream, optionally closing the stream when done.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim instance As EntityCacheState
Dim stream As Stream
Dim closeOnExit As Boolean
Dim useBinaryFormat As Boolean
instance.Save(stream, closeOnExit, useBinaryFormat) |
Parameters
- stream
- closeOnExit
- True to close the stream when done; false to leave the stream open for additional processing.
- useBinaryFormat
- True to save the file in binary format, false to save in text format.
Remarks
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also