62 object IList.this[
int index]
70 this[index] = (CodeNamespaceImport)value;
112 keys[value.Namespace] = value;
140 private void SyncKeys()
149 keys[codeNamespaceImport.
Namespace] = codeNamespaceImport;
154 IDisposable disposable = enumerator as IDisposable;
155 if (disposable !=
null)
157 disposable.Dispose();
166 return data.GetEnumerator();
174 data.CopyTo(array, index);
189 return data.Add((CodeNamespaceImport)value);
204 return data.Contains(value);
212 return data.IndexOf((CodeNamespaceImport)value);
220 data.Insert(index, (CodeNamespaceImport)value);
228 data.Remove((CodeNamespaceImport)value);
236 data.RemoveAt(index);
object SyncRoot
Gets an object that can be used to synchronize access to the T:System.Collections....
The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method th...
bool MoveNext()
Advances the enumerator to the next element of the collection.
IEnumerator GetEnumerator()
Gets an enumerator that enumerates the collection members.
int Count
Gets the number of namespaces in the collection.
Represents a non-generic collection of objects that can be individually accessed by index.
void RemoveAt(int index)
Removes the T:System.Collections.IList item at the specified index.
void Insert(int index, object value)
Inserts an item to the T:System.Collections.IList at the specified index.
Represents a namespace import directive that indicates a namespace to use.
bool IsReadOnly
Gets a value indicating whether the T:System.Collections.IList is read-only.
void Add(CodeNamespaceImport value)
Adds a T:System.CodeDom.CodeNamespaceImport object to the collection.
void Clear()
Removes all items from the T:System.Collections.IList.
int IndexOf(object value)
Determines the index of a specific item in the T:System.Collections.IList.
virtual bool ContainsKey(object key)
Determines whether the T:System.Collections.Hashtable contains a specific key.
bool IsFixedSize
Gets a value indicating whether the T:System.Collections.IList has a fixed size.
Exposes an enumerator, which supports a simple iteration over a non-generic collection....
Represents a collection of key/value pairs that are organized based on the hash code of the key....
Represents a collection of T:System.CodeDom.CodeNamespaceImport objects.
object Current
Gets the element in the collection at the current position of the enumerator.
Provides methods for creating, manipulating, searching, and sorting arrays, thereby serving as the ba...
bool IsSynchronized
Gets a value indicating whether access to the T:System.Collections.ICollection is synchronized (threa...
int Add(object value)
Adds an item to the T:System.Collections.IList.
IEnumerator GetEnumerator()
Returns an enumerator that iterates through a collection.
void AddRange(CodeNamespaceImport[] value)
Adds a set of T:System.CodeDom.CodeNamespaceImport objects to the collection.
void Clear()
Clears the collection of members.
Specifies that the class can be serialized.
static StringComparer OrdinalIgnoreCase
Gets a T:System.StringComparer object that performs a case-insensitive ordinal string comparison.
void Remove(object value)
Removes the first occurrence of a specific object from the T:System.Collections.IList.
ClassInterfaceType
Identifies the type of class interface that is generated for a class.
bool Contains(object value)
Determines whether the T:System.Collections.IList contains a specific value.
virtual void Clear()
Removes all elements from the T:System.Collections.Hashtable.
int Count
Gets the number of elements contained in the T:System.Collections.ICollection.
Defines size, enumerators, and synchronization methods for all nongeneric collections.
string Namespace
Gets or sets the namespace to import.
void CopyTo(Array array, int index)
Copies the elements of the T:System.Collections.ICollection to an T:System.Array, starting at a parti...
Supports a simple iteration over a non-generic collection.
Represents a string comparison operation that uses specific case and culture-based or ordinal compari...
Implements the T:System.Collections.IList interface using an array whose size is dynamically increase...