다음을 통해 공유


CImageList::Read

이미지 목록에 있는 보관 저장소에서 읽는이 함수를 호출 합니다.

BOOL Read(
   CArchive* pArchive 
);

매개 변수

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

반환 값

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

예제

// Open the archive to load the image list from.
CFile   myFile(_T("myfile.data"), CFile::modeRead);
CArchive ar(&myFile, CArchive::load);
CImageList myImgList;

// Load the image list from the archive.
myImgList.Read(&ar);   

요구 사항

헤더: afxcmn.h

참고 항목

참조

CImageList 클래스

계층 구조 차트

CImageList::Write