VersionSpec.FormatRange Method

Formats a server or local path with the version range 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
'Usage
Dim path As String 
Dim from As VersionSpec 
Dim to As VersionSpec 
Dim returnValue As String 

returnValue = VersionSpec.FormatRange(path, _
    from, to)
public static string FormatRange(
    string path,
    VersionSpec from,
    VersionSpec to
)
public:
static String^ FormatRange(
    String^ path, 
    VersionSpec^ from, 
    VersionSpec^ to
)
public static function FormatRange(
    path : String, 
    from : VersionSpec, 
    to : VersionSpec
) : String

Parameters

Return Value

Type: System.String
Returns a version string which represents the path and version range.

.NET Framework Security

See Also

Reference

VersionSpec Class

VersionSpec Members

Microsoft.TeamFoundation.VersionControl.Client Namespace