Rule.CompareTo Method (Rule)
Compares the rule to another rule by their IDs.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
Public Function CompareTo ( _
other As Rule _
) As Integer
public int CompareTo(
Rule other
)
public:
virtual int CompareTo(
Rule^ other
) sealed
abstract CompareTo :
other:Rule -> int
override CompareTo :
other:Rule -> int
public final function CompareTo(
other : Rule
) : int
Parameters
other
Type: Microsoft.VisualStudio.Modeling.RuleThe other rule.
Return Value
Type: System.Int32
Compares the IDs of the two rules.
Implements
.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.