Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Formats a server or local path by using the version range that is specified.
Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Shared Function FormatRange ( _
    path As String, _
    from As VersionSpec, _
    to As VersionSpec _
) As String
public static string FormatRange(
    string path,
    VersionSpec from,
    VersionSpec to
)
public:
static String^ FormatRange(
    String^ path, 
    VersionSpec^ from, 
    VersionSpec^ to
)
static member FormatRange : 
        path:string * 
        from:VersionSpec * 
        to:VersionSpec -> string
public static function FormatRange(
    path : String, 
    from : VersionSpec, 
    to : VersionSpec
) : String
Parameters
path
Type: System.StringThe server or local path.
from
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpecThe start of the version range.
to
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpecThe end of the version range.
Return Value
Type: System.String
A version-specified string that represents the path and version range.
.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.