BuildPath Class
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.Build.Common.BuildPath
Namespace: Microsoft.TeamFoundation.Build.Common
Assembly: Microsoft.TeamFoundation.Build.Common (in Microsoft.TeamFoundation.Build.Common.dll)
Syntax
'Declaration
Public NotInheritable Class BuildPath
public static class BuildPath
public ref class BuildPath abstract sealed
[<AbstractClass>]
[<Sealed>]
type BuildPath = class end
public final class BuildPath
The BuildPath type exposes the following members.
Properties
Name | Description | |
---|---|---|
RootFolder | Gets the root folder. |
Top
Methods
Name | Description | |
---|---|---|
Combine | Combines two path segments into one canonicalized path. | |
GetDropType | Determines which drop type the given location is using. | |
GetFullPath | Canonicalize a query path. This will make sure that, if it is used, the recursion operator is the next-to-last element of a path and that wildcard characters are not used except for the last element of the path. | |
GetItemDepth | Given a fully qualified path this method will determine the depth level relative to the root folder and return an integer signifying the computed depth. The path should be canonicalized before it is passed in. | |
GetItemName | Returns just the file name part of a path. If the path contains only a team project, then the file name will be empty. | |
GetTeamProject | Returns the team project part of the build path. This method assumes that the path has been canonicalized already. | |
IsRecursive | Signifies whether the query path contains the full recursion operator. This method assumes that the input path has been canonicalized. | |
IsValidPath | Validates a build item path and canonicalizes it if it is valid. The output value error is set when the path is not valid. |
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.