Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Stream.Dispose 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 all resources used by the Stream object.

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

NameDescription
System_CAPS_pubmethodDispose()

Releases all resources used by the Stream.

System_CAPS_protmethodDispose(Boolean)

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

Return to top
Show:
© 2018 Microsoft