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
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, consultez Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.