Click or drag to resize

GH_ComponentServerCompareProxies Method

Compare two object proxies. Names and exposures are taken into account.

Namespace:  Grasshopper.Kernel
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public static int CompareProxies(
	IGH_ObjectProxy A,
	IGH_ObjectProxy B
)

Parameters

A
Type: Grasshopper.KernelIGH_ObjectProxy
First proxy to compare.
B
Type: Grasshopper.KernelIGH_ObjectProxy
Second proxy to compare.

Return Value

Type: Int32
-1 if A is valued lower than B, 0 if A and B are considered equal, +1 if A is valued higher than B.
See Also