WorkspaceInfo.Inequality Operator

Compares two WorkspaceInfo objects.

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

public static bool operator !=(
	WorkspaceInfo workspaceInfo1,
	WorkspaceInfo workspaceInfo2
)

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 not equivalent; otherwise, false.

Checks the workspace name, owner, and repository.

Show: