BuildPath Class


Namespace:  Microsoft.TeamFoundation.Build.Common
Assembly:  Microsoft.TeamFoundation.Build.Common (in Microsoft.TeamFoundation.Build.Common.dll)

public static class BuildPath

The BuildPath type exposes the following members.

Public propertyStatic memberRootFolderGets the root folder.

Public methodStatic memberCombineCombines two path segments into one canonicalized path.
Public methodStatic memberGetDropTypeDetermines which drop type the given location is using.
Public methodStatic memberGetFullPathCanonicalize 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.
Public methodStatic memberGetItemDepthGiven 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.
Public methodStatic memberGetItemNameReturns just the file name part of a path. If the path contains only a team project, then the file name will be empty.
Public methodStatic memberGetTeamProjectReturns the team project part of the build path. This method assumes that the path has been canonicalized already.
Public methodStatic memberIsRecursiveSignifies whether the query path contains the full recursion operator. This method assumes that the input path has been canonicalized.
Public methodStatic memberIsValidPathValidates a build item path and canonicalizes it if it is valid. The output value error is set when the path is not valid.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.