| title | Platform::IDisposable Interface | Microsoft Docs | |
|---|---|---|
| ms.custom | ||
| ms.date | 02/03/2017 | |
| ms.technology | cpp-windows | |
| ms.reviewer | ||
| ms.suite | ||
| ms.tgt_pltfrm | ||
| ms.topic | language-reference | |
| f1_keywords |
|
|
| dev_langs |
|
|
| helpviewer_keywords |
|
|
| ms.assetid | f4344056-7030-42ed-bc98-b140edffddcd | |
| caps.latest.revision | 4 | |
| author | ghogen | |
| ms.author | ghogen | |
| manager | ghogen |
Used to release unmanaged resources.
public interface class IDisposable GuidAttribute("de0cbaea-8065-4a45-b196-c9d443f9bab3")
VersionAttribute(NTDDI_WIN8)
The IDisposable interface inherits from the IUnknown interface. IDisposable also has the following types of members:
Methods
The IDisposable interface has the following methods.
| Method | Description |
|---|---|
| Dispose | Used to release unmanaged resources. |
Minimum supported client: Windows 8
Minimum supported server: Windows Server 2012
Namespace: Platform