Partilhar via


CPathT::CommonPrefix

Call this method to determine whether the specified path shares a common prefix with the current path.

CPathT< StringType > CommonPrefix(
   PCXSTR pszOther 
);

Parameters

  • pszOther
    The path to compare to the current one.

Return Value

Returns the common prefix.

Remarks

A prefix is one of these types: "C:\\", ".", "..", "..\\". For more information, see PathCommonPrefix.

Requirements

Header: atlpath.h

See Also

Reference

CPathT Class

Other Resources

CPathT Members