Share via


VersionControlPath.DepthFirstTreeComparer Property

This comparer can be used to sort version control paths depth-first, just like a tree traversal.

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

Syntax

'Declaration
Public Shared ReadOnly Property DepthFirstTreeComparer As IComparer(Of String)
public static IComparer<string> DepthFirstTreeComparer { get; }
public:
static property IComparer<String^>^ DepthFirstTreeComparer {
    IComparer<String^>^ get ();
}
static member DepthFirstTreeComparer : IComparer<string> with get
static function get DepthFirstTreeComparer () : IComparer<String>

Property Value

Type: System.Collections.Generic.IComparer<String>
Returns IComparer<T>.

.NET Framework Security

See Also

Reference

VersionControlPath Class

Microsoft.TeamFoundation.VersionControl.Common Namespace