Partilhar via


CPathT::AddExtension

Call this method to add a file extension to a path.

BOOL AddExtension(
   PCXSTR pszExtension 
);

Parameters

  • pszExtension
    The file extension to add.

Return Value

Returns TRUE on success, FALSE on failure.

Remarks

For more information, see PathAddExtension.

Requirements

Header: atlpath.h

See Also

Reference

CPathT Class

Other Resources

CPathT Members