Partilhar via


DomainClassInheritanceComparer<T>.Compare Method (T, T)

Compare two domain classes

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)

Syntax

'Declaração
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: System.Int32

Implements

IComparer<T>.Compare(T, T)

.NET Framework Security

See Also

Reference

DomainClassInheritanceComparer<T> Class

Compare Overload

Microsoft.VisualStudio.Modeling.DslDefinition Namespace