Bagikan melalui


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

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 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

  • x
    Type: Object
  • y
    Type: Object

Return Value

Type: Int32

Implements

IComparer.Compare(Object, Object)

.NET Framework Security

See Also

Reference

DomainClassInheritanceComparer<T> Class

Compare Overload

Microsoft.VisualStudio.Modeling.DslDefinition Namespace