DocumentTypeMergeOrderComparerCompare Method |
Compares two values to define which should go first in the order.
Namespace: Scanjour.Workflow4.ActivityLibrary.DocumentsAssembly: Scanjour.Workflow4.ActivityLibrary_24.5.0.0 (in Scanjour.Workflow4.ActivityLibrary_24.5.0.0.dll) Version: 24.5.0.0 (24.5.0.0)
Syntaxpublic int Compare(
DocumentType x,
DocumentType y
)
Public Function Compare (
x As DocumentType,
y As DocumentType
) As Integer
public:
virtual int Compare(
DocumentType x,
DocumentType y
) sealed
abstract Compare :
x : DocumentType *
y : DocumentType -> int
override Compare :
x : DocumentType *
y : DocumentType -> int
Parameters
- x DocumentType
- First value
- y DocumentType
- Second value
Return Value
Int32
-1 if
x <
y.
0 if
x =
y.
1 if
x >
y.
Implements
IComparerTCompare(T, T)
See Also