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.
Utility method to prepend the root ($/) to a folder - most useful for getting the folder of a team project if you only have his name.
Namespace: Microsoft.TeamFoundation.VersionControl.Common
Assembly: Microsoft.TeamFoundation.VersionControl.Common (in Microsoft.TeamFoundation.VersionControl.Common.dll)
Syntax
'Declaration
Public Shared Function PrependRootIfNeeded ( _
folder As String _
) As String
public static string PrependRootIfNeeded(
string folder
)
public:
static String^ PrependRootIfNeeded(
String^ folder
)
static member PrependRootIfNeeded :
folder:string -> string
public static function PrependRootIfNeeded(
folder : String
) : String
Parameters
folder
Type: System.StringFolder path that may start with $/ already.
Return Value
Type: System.String
Folder path starting with root.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.