Freigeben über


WorkspaceInfo.Equality Operator

Compares two WorkspaceInfo objects.

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

Syntax

'Declaration
Public Shared Operator = ( _
    workspaceInfo1 As WorkspaceInfo, _
    workspaceInfo2 As WorkspaceInfo _
) As Boolean
public static bool operator ==(
    WorkspaceInfo workspaceInfo1,
    WorkspaceInfo workspaceInfo2
)
public:
static bool operator ==(
    WorkspaceInfo^ workspaceInfo1, 
    WorkspaceInfo^ workspaceInfo2
)
static let inline (=)
        workspaceInfo1:WorkspaceInfo * 
        workspaceInfo2:WorkspaceInfo  : bool
JScript does not support overloaded operators.

Parameters

Return Value

Type: System.Boolean
True if the two WorkspaceInfo objects are equivalent; otherwise, false.

Remarks

Checks the workspace name, owner, and repository.

.NET Framework Security

See Also

Reference

WorkspaceInfo Class

Microsoft.TeamFoundation.VersionControl.Client Namespace