共用方式為


CFile::GetLength

virtualDWORDGetLength()const;
throw(CFileException);

Return Value

The length of the file.

Remarks

Obtains the current logical length of the file in bytes, not the amount.

Example

See the example for CATCH.

CFile OverviewClass MembersHierarchy Chart

See Also   CFile::SetLength