C# HybridDictionary IsReadOnly

Description

HybridDictionary IsReadOnly gets a value indicating whether the HybridDictionary is read-only.

Syntax

HybridDictionary.IsReadOnly has the following syntax.


public bool IsReadOnly { get; }

Example


using System;//from w w  w.  j a va  2 s .c om
using System.Collections;
using System.Collections.Specialized;

public class SamplesHybridDictionary  {
   public static void Main()  {
      HybridDictionary myCol = new HybridDictionary();
      myCol.Add( "C", "1.29" );
      myCol.Add( "D", "0.89" );
      myCol.Add( "E", "0.99" );
      Console.WriteLine(myCol.IsReadOnly );
   }

}

The code above generates the following result.





















Home »
  C# Tutorial »
    System.Collections.Specialized »




BitVector32
HybridDictionary
ListDictionary
OrderedDictionary
StringCollection
StringDictionary
StringEnumerator