Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 | |
---|---|---|
![]() ![]() |
RootFolder | Gets the root folder |
Top
Methods
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. |
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.