OrderToken Class
A generic class that identifies the sort order of hierarchical items.
Inheritance Hierarchy
System.Object
Microsoft.Windows.Design.OrderToken
Microsoft.Windows.Design.Interaction.AdornerOrder
Microsoft.Windows.Design.PropertyEditing.PropertyOrder
Namespace: Microsoft.Windows.Design
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public MustInherit Class OrderToken _
Implements IComparable(Of OrderToken)
public abstract class OrderToken : IComparable<OrderToken>
public ref class OrderToken abstract : IComparable<OrderToken^>
[<AbstractClass>]
type OrderToken =
class
interface IComparable<OrderToken>
end
public abstract class OrderToken implements IComparable<OrderToken>
The OrderToken type exposes the following members.
Constructors
Name | Description | |
---|---|---|
OrderToken | Initializes a new instance of the OrderToken class based on the specified referenced OrderToken, precedence, and conflict resolution semantics. |
Top
Methods
Name | Description | |
---|---|---|
CompareTo | Compares this order token with the specified order token. | |
Equals | Determines whether the specified Object is equal to the current Object. (Overrides Object.Equals(Object).) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Overrides Object.GetHashCode().) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ResolveConflict | Called by the default CompareTo implementation when two OrderToken objects appear to be equivalent. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Operators
Name | Description | |
---|---|---|
Equality | Determines whether two specified order tokens are equal. | |
GreaterThan | Determines whether the first specified order token is greater than the second. | |
Inequality | Determines whether two specified order tokens are not equal. | |
LessThan | Determines whether the first specified order token is less than the second. |
Top
Remarks
Use the OrderToken class to define priority that is based on some predefined defaults or based on other OrderToken classes.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.Windows.Design Namespace