DomainClassInheritanceComparer<T>.Compare Method (T, T)
Compare two domain classes
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)
Syntax
'Declaration
Public Function Compare ( _
x As T, _
y As T _
) As Integer
public int Compare(
T x,
T y
)
public:
virtual int Compare(
T x,
T y
) sealed
abstract Compare :
x:'T *
y:'T -> int
override Compare :
x:'T *
y:'T -> int
public final function Compare(
x : T,
y : T
) : int
Parameters
- x
Type: T
- y
Type: T
Return Value
Type: Int32
Implements
IComparer.Compare(UTP, UTP)
.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.