[]
Releases all resources used by this DeviceContext object.
public void Dispose()
Calling Dispose allows the resources used by the DeviceContext object to be reallocated for other purposes.
Releases the unmanaged resources used by the DeviceContext and optionally releases the managed resources.
protected virtual void Dispose(bool disposing)
Type | Name | Description |
---|---|---|
bool | disposing | true to release both managed and unmanaged resources; false to release only unmanaged resources. |