共用方式為


CFile::Duplicate

Constructs a duplicate CFile object for a given file.

virtual CFile* Duplicate( ) const;

Return Value

A pointer to a duplicate CFile object.

Remarks

This is equivalent to the C run-time function _dup.

Requirements

Header: afx.h

See Also

Concepts

CFile Class

CFile Members

Hierarchy Chart