Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at auto_gcroot Class.
Automatic resource management (like auto_ptr Class) which can be used to embed a virtual handle into a native type.
Syntax
template<typename _element_type>
class auto_gcroot;
Parameters
_element_type
The managed type to be embedded.
Requirements
Header file <msclr\auto_gcroot.h>
Namespace msclr
See Also
auto_gcroot
auto_gcroot Members
How to: Declare Handles in Native Types
auto_handle Class