다음을 통해 공유


com::ptr

A wrapper for a COM object that can be used as a member of a CLR class. The wrapper also automates lifetime management of the COM object, releasing owned references on the object when its destructor is called. Analogous to CComPtr 클래스.

#include <msclr\com\ptr.h>

설명

com::ptr 클래스 is defined in the <msclr\com\ptr.h> file.

참고 항목

기타 리소스

C++ 지원 라이브러리