CImageList::Write

更新 : 2007 年 11 月

アーカイブにイメージ リスト オブジェクトを書き込みます。

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

その他の技術情報

CImageList のメンバ