WorkspaceInfo.Equality Operator
Compares two WorkspaceInfo objects.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Декларация
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
- workspaceInfo1
Type: Microsoft.TeamFoundation.VersionControl.Client.WorkspaceInfo
The first WorkspaceInfo object.
- workspaceInfo2
Type: Microsoft.TeamFoundation.VersionControl.Client.WorkspaceInfo
The second WorkspaceInfo object.
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
- 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.