다음을 통해 공유


CImageList::Write

이미지 목록 개체 아카이브를 작성 하려면이 함수를 호출 합니다.

BOOL Write( 
   CArchive* pArchive  
);

매개 변수

  • pArchive
    에 대 한 포인터는 CArchive 개체를 이미지 목록입니다.

반환 값

성공 하면 0이 아닌. 그렇지 않으면 0입니다.

예제

// Open the archive to store the image list in.
CFile   myFile(_T("myfile.data"), CFile::modeCreate | CFile::modeWrite);
CArchive ar(&myFile, CArchive::store);

// Store the image list in the archive.
m_myImageList.Write(&ar);

요구 사항

헤더: afxcmn.h

참고 항목

참조

CImageList 클래스

계층 구조 차트

CImageList::Read