Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Compares this order token with the specified order token.
Namespace: Microsoft.Windows.Design
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Overridable Function CompareTo ( _
other As OrderToken _
) As Integer
public virtual int CompareTo(
OrderToken other
)
public:
virtual int CompareTo(
OrderToken^ other
)
abstract CompareTo :
other:OrderToken -> int
override CompareTo :
other:OrderToken -> int
public function CompareTo(
other : OrderToken
) : int
Parameters
- other
Type: Microsoft.Windows.Design.OrderToken
The token to compare to this token.
Return Value
Type: System.Int32
0 when the tokens have an equal order priority, -1 if this order comes before the specified order, 1 otherwise.
Implements
Remarks
The comparison for OrderToken objects that do not belong to the same chain of OrderToken objects is resolved non-deterministically.
.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.
See Also
Reference
Microsoft.Windows.Design Namespace