OrderedDictionary.AsReadOnly Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

member AsReadOnly : unit -> OrderedDictionary

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: