OrderedDictionary.AsReadOnly Method ()

 

Returns a read-only copy of the current OrderedDictionary collection.

Namespace:   System.Collections.Specialized
Assembly:  System (in System.dll)

public OrderedDictionary AsReadOnly()

Return Value

Type: System.Collections.Specialized.OrderedDictionary

A read-only copy of the current OrderedDictionary collection.

The AsReadOnly method creates a read-only wrapper around the current OrderedDictionary collection. Changes made to the OrderedDictionary collection are reflected in the read-only copy.

Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Return to top
Show: