This documentation is archived and is not being maintained.
BuildContainerPath Class
Visual Studio 2013
Provides utility methods for build container paths.
Namespace: Microsoft.TeamFoundation.Build.Common
Assembly: Microsoft.TeamFoundation.Build.Common (in Microsoft.TeamFoundation.Build.Common.dll)
The BuildContainerPath type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | AreEqual | |
![]() ![]() | Combine | Combines path segments into one canonicalized path. |
![]() ![]() | GetContainerId | Finds the containerId from a build container path. |
![]() ![]() | GetContainerIdAndPath | Splits a path into its two major components of container id and item path. |
![]() ![]() | GetFolderName | Takes a build container path as either #/id/aaa/bbb or the http address and strips off the last part of the path. If there is not a '/' in the path the original path is returned. |
![]() ![]() | GetFullPath | Canonicalize a server drop path. This will ensure that, if used, wild cards are not used and that separators are consistent. |
![]() ![]() | GetItemName | Returns just the file name portion of a path. If the path contains only a team project then the file name will be empty. |
![]() ![]() | IsHttpUrl | Takes a logLocation stored in an Intermediate build information node and returns whether the path starts with "http". |
![]() ![]() | IsServerPath | |
![]() ![]() | IsSubItem | |
![]() ![]() | IsValidPath | Validates a server drop path and canonicalizes it if it is valid. The output value error is set when the path is not valid. |
![]() ![]() | MakeRelative | Checks to see if fullPath starts with the parentPath. If so,the parent path is removed from fullPath and the remaining part of fullPath is returned. |
Show:
