Provides utility methods for build container paths.
Inheritance Hierarchy
System.Object
  Microsoft.TeamFoundation.Build.Common.BuildContainerPath
Namespace:  Microsoft.TeamFoundation.Build.Common
Assembly:  Microsoft.TeamFoundation.Build.Common (in Microsoft.TeamFoundation.Build.Common.dll)
Syntax
'Declaration
Public NotInheritable Class BuildContainerPath
public static class BuildContainerPath
public ref class BuildContainerPath abstract sealed
[<AbstractClass>]
[<Sealed>]
type BuildContainerPath =  class end
public final class BuildContainerPath
The BuildContainerPath type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| .gif) .gif) | RootFolder | Gets the root folder | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) .gif) | AreEqual | |
| .gif) .gif) | Combine | Combines path segments into one canonicalized path. | 
| .gif) .gif) | GetContainerId | Finds the containerId from a build container path. | 
| .gif) .gif) | GetContainerIdAndPath | Splits a path into its two major components of container id and item path. | 
| .gif) .gif) | 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. | 
| .gif) .gif) | GetFullPath | Canonicalize a server drop path. This will ensure that, if used, wild cards are not used and that separators are consistent. | 
| .gif) .gif) | 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. | 
| .gif) .gif) | IsHttpUrl | Takes a logLocation stored in an Intermediate build information node and returns whether the path starts with "http". | 
| .gif) .gif) | IsServerPath | |
| .gif) .gif) | IsSubItem | |
| .gif) .gif) | 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. | 
| .gif) .gif) | 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. | 
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.