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.

Namespace: Contracts
Assembly: Contracts (in Contracts.dll)

Public Overrides Sub Close()
This language is not supported or no code example is available.
public override void Close()
This language is not supported or no code example is available.
public:  
void Close()
This language is not supported or no code example is available.
public function Close();
This language is not supported or no code example is available.

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1