In This Article

Ordering Class

Provides data used to order one object relative to another.

public class Ordering
Inheritance:
object object

Constructors

Ordering(string, OrderPlacement)

Initializes a new instance of the Ordering class.

public Ordering(string key, OrderPlacement placement)
Parameter Type Description
key string

The string-based key of the object relative to which the ordering's owner should be positioned.

placement OrderPlacement

The OrderPlacement that indicates how to position the ordering's owner relative to the object specified by Key.

Properties

Key

Gets the string-based key of the object relative to which the ordering's owner should be positioned.

public string Key { get; }

Property Value

string:

The string-based key of the object relative to which the ordering's owner should be positioned.

Placement

Gets the OrderPlacement that indicates how to position the ordering's owner relative to the object specified by Key.

public OrderPlacement Placement { get; }

Property Value

OrderPlacement:

The OrderPlacement that indicates how to position the ordering's owner relative to the object specified by Key.

Methods

ToString()

Converts the object to a String.

public override string ToString()

Returns

string:

A string whose value represents this object.

Inherited Members