共用方式為


CPathT::FindExtension

Call this method to find the position of the file extension within the path.

int FindExtension( ) const;

Return Value

Returns the position of the "." preceding the extension. If no extension is found, returns –1.

Remarks

For more information, see PathFindExtension.

Requirements

Header: atlpath.h

See Also

Concepts

CPathT Class

CPathT Members

CPathT::GetExtension