Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft