Open sandboxFocus

Method CompareTo

CompareTo(DocumentKey)

Compares two keys by path, ordinally.

Declaration
public int CompareTo(DocumentKey other)
Parameters
Type Name Description
DocumentKey other
Returns
Type Description
int
Implements
Remarks

Ordering exists so that anything enumerating a key-indexed collection can produce a stable sequence: test baselines, trace output and the manifest indexes all depend on an order that does not vary between runs.