This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.

Syntax

C# Copy imageCopy Code
                                  public class ReadOnlyDictionary<T, U>
Visual Basic (Declaration) Copy imageCopy Code
                                  Public Class ReadOnlyDictionary(Of T, U)

Type Parameters

T
U

The type exposes the following members.

Public Constructors

  Name Description
Public method ReadOnlyDictionary<(Of <(<'T, U>)>)>
Constructor

Public Methods

  Name Description
Public method Contains
Returns true if this collection contains the given KeyValuePair.
Public method ContainsKey
Returns true if the dictionary contains the given key
Public method CopyTo
Copies
Public method Equals (Inherited from Object.)
Public method GetEnumerator
Returns an enumerator for this dictionary
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method ToString (Inherited from Object.)
Public method TryGetValue
Tries to get a value from dictionary with the given key.

Protected Methods

  Name Description
Protected method Finalize (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)

Public Properties

  Name Description
Public property Count
Returns the number of keys in this dictionary
Public property IsReadOnly
Always returns true
Public property Item
Indexer
Public property Keys
Returns the collecion of keys
Public property Values
Returns the collection of values

Explicit Interface Implementations

See Also

Advanced