Partager via


CPathT::IsPrefix

Appelez cette méthode pour déterminer si un chemin d'accès contient un préfixe valide du type passé par pszPrefix.

BOOL IsPrefix(
   PCXSTR pszPrefix 
) const;

Paramètres

  • pszPrefix
    Le préfixe pour lequel la recherche.Un préfixe est l'un de ces types : « C:\\ » ", « .  », « .  », « .\\ ».

Valeur de retour

Retourne RECTIFIENT si le chemin d'accès contient le préfixe, ou FALSE sinon.

Notes

Pour plus d'informations, consultez PathIsPrefix.

Configuration requise

Header: atlpath.h

Voir aussi

Référence

Classe de CPathT