DictionaryBaseTKey, TValueAsReadOnly Method |
Provides a read-only view of this dictionary. The returned IDictionary<TKey,TValue> provides
a view of the dictionary that prevents modifications to the dictionary. Use the method to provide
access to the dictionary without allowing changes. Since the returned object is just a view,
changes to the dictionary will be reflected in the view.
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic virtual IDictionary<TKey, TValue> AsReadOnly()
public:
virtual IDictionary<TKey, TValue>^ AsReadOnly()
Return Value
Type:
IDictionaryTKey,
TValueAn IIDictionary<TKey,TValue> that provides read-only access to the dictionary.
See Also