ModelCollationComparer<T>.Compare Method
Compares two objects using collation of this comparer.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public MustOverride Function Compare ( _
x As T, _
y As T _
) As Integer
'Usage
Dim instance As ModelCollationComparer
Dim x As T
Dim y As T
Dim returnValue As Integer
returnValue = instance.Compare(x, y)
public abstract int Compare(
T x,
T y
)
public:
virtual int Compare(
T x,
T y
) abstract
public abstract function Compare(
x : T,
y : T
) : int
abstract Compare :
x:'T *
y:'T -> int
Parameters
- x
Type: T
Source object
- y
Type: T
Target object
Return Value
Type: System.Int32
Implements
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ModelCollationComparer<T> Class