Partilhar via


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

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 Object, _
    y As Object _
) As Integer
public int Compare(
    Object x,
    Object y
)
public:
virtual int Compare(
    Object^ x, 
    Object^ y
) sealed
abstract Compare : 
        x:Object * 
        y:Object -> int 
override Compare : 
        x:Object * 
        y:Object -> int 
public final function Compare(
    x : Object, 
    y : Object
) : int

Parameters

Return Value

Type: System.Int32

Implements

IComparer.Compare(Object, Object)

.NET Framework Security

See Also

Reference

DomainClassInheritanceComparer<T> Class

Compare Overload

Microsoft.VisualStudio.Modeling.DslDefinition Namespace