共用方式為


CFile::SeekToBegin

voidSeekToBegin();
throw(CFileException);

Remarks

Sets the value of the file pointer to the beginning of the file. SeekToBegin() is equivalent to Seek( 0L, CFile::begin ).

Example

//example for CFile::SeekToBegin
extern CFile cfile;
cfile.SeekToBegin();

CFile OverviewClass MembersHierarchy Chart