Поделиться через


auto_gcroot Class

Automatic resource management (like auto_ptr Class) which can be used to embed a virtual handle into a native type.

template<typename _element_type>
class auto_gcroot;

Параметры

  • _element_type
    The managed type to be embedded.

Требования

Header file <msclr\auto_gcroot.h>

Namespace msclr

См. также

Основные понятия

auto_gcroot

auto_gcroot Members

How to: Declare Handles in Native Types

auto_handle Class