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
- x
Type: System.Object
- y
Type: System.Object
Return Value
Type: System.Int32
Implements
IComparer.Compare(Object, Object)
.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.