Partager via


BuildContainerPath.MakeRelative, méthode

Vérifie si le démarrage de fullPath avec le parentPath. Dans ce cas, le chemin d'accès parent est supprimé du fullPath et la partie restante de fullPath est retournée.

Espace de noms :  Microsoft.TeamFoundation.Build.Common
Assembly :  Microsoft.TeamFoundation.Build.Common (dans Microsoft.TeamFoundation.Build.Common.dll)

Syntaxe

'Déclaration
Public Shared Function MakeRelative ( _
    parentPath As String, _
    fullPath As String _
) As String
public static string MakeRelative(
    string parentPath,
    string fullPath
)

Paramètres

  • parentPath
    Type : System.String
    tracé parent de conteneur de génération
  • fullPath
    Type : System.String
    chemin d'accès du conteneur de génération complète

Valeur de retour

Type : System.String
retourne String ;

Sécurité .NET Framework

Voir aussi

Référence

BuildContainerPath Classe

Microsoft.TeamFoundation.Build.Common, espace de noms