IClosable Interface

Defines a method to release allocated resources.

Syntax

public interface class IClosable  

Remarks

You should implement this interface for Windows Runtime objects that wrap exclusive system resources, such as file handles and network sockets. You do not implement this interface for Windows Runtime objects that wrap shared system resources, such as memory and sharable devices.

Requirements

Namespace: Windows.Foundation

Metadata: windows.winmd

See also

Reference

IClosable Members

Windows.Foundation Namespace