The methods of the CodeNamespaceImportCollection class are listed below. For a complete list of CodeNamespaceImportCollection class members, see the CodeNamespaceImportCollection Members topic.
Add | Adds a namespace import to the collection. |
AddRange | Adds a set of CodeNamespaceImport objects to the collection. |
Clear | Clears the collection of members. |
Equals (inherited from Object) | Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality). |
GetEnumerator | Gets an enumerator that enumerates the collection members. |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) | Gets the Type of the Object. |
ToString (inherited from Object) | Returns a String that represents the current Object. |
Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
CodeNamespaceImportCollection Class | System.CodeDOM Namespace