Partager via


CPathT::CommonPrefix

Appelez cette méthode pour déterminer si le chemin d'accès spécifié partage un préfixe commun avec le chemin d'accès actuel.

CPathT< StringType > CommonPrefix(
   PCXSTR pszOther 
);

Paramètres

  • pszOther
    Le chemin d'accès à comparer à l'actuel.

Valeur de retour

Retourne le préfixe commun.

Notes

Un préfixe est l'un de ces types : « C:\\ » ", « .  », « .  », « .\\ ».Pour plus d'informations, consultez PathCommonPrefix.

Configuration requise

Header: atlpath.h

Voir aussi

Référence

Classe de CPathT