Skip to main content
BinaryWriterDispose Method
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Releases the unmanaged resources used by the BinaryWriter and optionally releases the managed resources.

Namespace:   System.IO
Assembly:  mscorlib (in mscorlib.dll)

protected virtual void Dispose(
	bool disposing
)
protected:
virtual void Dispose(
	bool disposing
)
abstract Dispose : 
        disposing:bool -> unit
override Dispose : 
        disposing:bool -> unit
Protected Overridable Sub Dispose (
	disposing As Boolean
)

Parameters

disposing
Type:

true to release both managed and unmanaged resources; false to release only unmanaged resources.

Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top