IOrderedDictionary<TKey,TValue>.AsReadOnly Method
Definition
Returns the dictionary as read-only ordered dictionary.
Delphi
function AsReadOnly: IReadOnlyOrderedDictionary<TKey,TValue>
Returns
IReadOnlyOrderedDictionary<TKey, TValue>
The dictionary as read-only ordered dictionary.
Remarks
This method will not perform a copy but will return the same instance as IReadOnlyOrderedDictionary<TKey,TValue> .