System.Collections.Specialized.HybridDictionary.GetEnumerator C# (CSharp) Method

GetEnumerator() public method

public GetEnumerator ( ) : System.Collections.IDictionaryEnumerator
return System.Collections.IDictionaryEnumerator
        public System.Collections.IDictionaryEnumerator GetEnumerator() { throw null; }
        public void Remove(object key) { }

Usage Example

Ejemplo n.º 1
0
		public void DefaultValues ()
		{
			HybridDictionary hd = new HybridDictionary (100);
			Assert.AreEqual (0, hd.Count, "Count");
			Assert.IsFalse (hd.IsFixedSize, "IsFixedSize");
			Assert.IsFalse (hd.IsReadOnly, "IsReadOnly");
			Assert.IsFalse (hd.IsSynchronized, "IsSynchronized");
			Assert.AreEqual (0, hd.Keys.Count, "Keys");
			Assert.AreEqual (0, hd.Values.Count, "Values");
			Assert.AreSame (hd, hd.SyncRoot, "SyncRoot");
			Assert.IsNotNull (hd.GetEnumerator (), "GetEnumerator");
			Assert.IsNotNull ((hd as IEnumerable).GetEnumerator (), "IEnumerable.GetEnumerator");
		}
All Usage Examples Of System.Collections.Specialized.HybridDictionary::GetEnumerator