ModelCollationComparer.Compare Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Compare(ObjectIdentifier, ObjectIdentifier) |
Compare two objects using collation of this comparer. |
Compare(IList<String>, IList<String>) |
Compare two objects using collation of this comparer. |
Compare(String, String) |
Compare two objects using collation of this comparer. |
Compare(ObjectIdentifier, ObjectIdentifier)
Compare two objects using collation of this comparer.
public abstract int Compare (Microsoft.SqlServer.Dac.Model.ObjectIdentifier x, Microsoft.SqlServer.Dac.Model.ObjectIdentifier y);
abstract member Compare : Microsoft.SqlServer.Dac.Model.ObjectIdentifier * Microsoft.SqlServer.Dac.Model.ObjectIdentifier -> int
Public MustOverride Function Compare (x As ObjectIdentifier, y As ObjectIdentifier) As Integer
Parameters
Source object.
Target object.
Returns
Implements
Applies to
Compare(IList<String>, IList<String>)
Compare two objects using collation of this comparer.
public abstract int Compare (System.Collections.Generic.IList<string> x, System.Collections.Generic.IList<string> y);
abstract member Compare : System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> -> int
Public MustOverride Function Compare (x As IList(Of String), y As IList(Of String)) As Integer
Parameters
Returns
Implements
Applies to
Compare(String, String)
Compare two objects using collation of this comparer.
public abstract int Compare (string x, string y);
abstract member Compare : string * string -> int
Public MustOverride Function Compare (x As String, y As String) As Integer
Parameters
- x
- String
Source object.
- y
- String
Target object.