Delen via


VersionControlPath.Equals Method

Compares two file specs for equality.

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

Syntax

'Declaration
Public Shared Function Equals ( _
    item1 As String, _
    item2 As String _
) As Boolean
public static bool Equals(
    string item1,
    string item2
)
public:
static bool Equals(
    String^ item1, 
    String^ item2
)
static member Equals : 
        item1:string * 
        item2:string -> bool
public static function Equals(
    item1 : String, 
    item2 : String
) : boolean

Parameters

Return Value

Type: System.Boolean
Return true if the items match.

.NET Framework Security

See Also

Reference

VersionControlPath Class

Microsoft.TeamFoundation.VersionControl.Common Namespace