共用方式為


CPathT::GetExtension

Call this method to get the file extension from the path.

StringType GetExtension( ) const;

Return Value

Returns the file extension.

Requirements

Header: atlpath.h

See Also

Concepts

CPathT Class

CPathT Members

CPathT::FindExtension