WorkspaceVisualNodeBase.Compare(WorkspaceVisualNodeBase) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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