Dispose

This method releases any resources or memory allocated by the object.

Declaration

// C#
public void Dispose()

Implements

System.IDisposable

Thread Safety

This method is not thread-safe.