Close Method
See Also 
SourceCode.IO Namespace > SizeLimitedStream Class : Close Method



Glossary Item Box

Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream. Instead of calling this method, ensure that the stream is properly disposed.

Syntax

Visual Basic (Declaration) 
Public Overrides Sub Close() 
Visual Basic (Usage)Copy Code
Dim instance As SizeLimitedStream
 
instance.Close()
C# 
public override void Close()
C++/CLI 
public:
void Close(); override 

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also