Share via


WorkspaceVisualNodeBase.Compare(WorkspaceVisualNodeBase) Method

Definition

Comparison of the two nodes. Used for low impact refresh.

public:
 virtual int Compare(Microsoft::VisualStudio::Workspace::VSIntegration::UI::WorkspaceVisualNodeBase ^ right);
public virtual int Compare (Microsoft.VisualStudio.Workspace.VSIntegration.UI.WorkspaceVisualNodeBase right);
abstract member Compare : Microsoft.VisualStudio.Workspace.VSIntegration.UI.WorkspaceVisualNodeBase -> int
override this.Compare : Microsoft.VisualStudio.Workspace.VSIntegration.UI.WorkspaceVisualNodeBase -> int
Public Overridable Function Compare (right As WorkspaceVisualNodeBase) As Integer

Parameters

right
WorkspaceVisualNodeBase

the node to compare to

Returns

-1 if less, 0 - equal, 1 if bigger

Applies to