NameObjectCollection Constructor

Overload List

NameObjectCollection Initializes a new instance of the NameObjectCollection class that is empty, has the default initial capacity and uses the default case-insensitive hash code provider and the default case-insensitive comparer.
NameObjectCollection(IEqualityComparer) Initializes a new instance of the NameObjectCollection class that is empty, has the default initial capacity, and uses the specified IEqualityComparer object.
NameObjectCollection(Int32) Initializes a new instance of the NameObjectCollection class that is empty, has the specified initial capacity and uses the default case-insensitive hash code provider and the default case-insensitive comparer.
NameObjectCollection(IHashCodeProvider, IComparer) Initializes a new instance of the NameObjectCollection class that is empty, has the specified initial capacity and uses the specified hash code provider and the specified comparer.
Obsolete.
NameObjectCollection(Int32, NameObjectCollection) Copies the entries from the specified NameObjectCollection to a new NameObjectCollection with the specified initial capacity or the same initial capacity as the number of entries copied, whichever is greater, and using the default case-insensitive hash code provider and the default case-insensitive comparer.
NameObjectCollection(Int32, IEqualityComparer) Initializes a new instance of the NameObjectCollection class that is empty, has the specified initial capacity, and uses the specified IEqualityComparer object.
NameObjectCollection(Int32, IHashCodeProvider, IComparer) Initializes a new instance of the NameObjectCollection class that is empty, has the specified initial capacity and uses the specified hash code provider and the specified comparer.
Obsolete.

See Also