次の方法で共有


auto_gcroot クラス

ネイティブ型に仮想ハンドルを埋め込むために使用できる自動リソース管理 (auto_ptr Class)。

template<typename _element_type>
class auto_gcroot;

パラメーター

  • _element_type
    埋め込まれるマネージ型。

必要条件

ヘッダー ファイル <msclr\auto_gcroot.h>

名前空間 msclr

参照

処理手順

方法: ネイティブ型のハンドルを宣言する

参照

auto_gcroot

auto_handle クラス

その他の技術情報

auto_gcroot Members