共用方式為


CComSafeArray::Destroy

Destroys a CComSafeArray object.

HRESULT Destroy( );

Return Value

Returns S_OK on success, or an error HRESULT on failure.

Remarks

Destroys an existing CComSafeArray object and all of the data it contains.

Requirements

Header: atlsafe.h

See Also

Concepts

CComSafeArray Class

CComSafeArray Members

CComSafeArray::Create