This documentation is archived and is not being maintained.

NameObjectCollectionBase Constructor

Initializes a new instance of the NameObjectCollectionBase class.

Name Description
NameObjectCollectionBase () Initializes a new instance of the NameObjectCollectionBase class that is empty.

Supported by the .NET Compact Framework.

NameObjectCollectionBase (IEqualityComparer) Initializes a new instance of the NameObjectCollectionBase class that is empty, has the default initial capacity, and uses the specified IEqualityComparer object.

Supported by the .NET Compact Framework.

NameObjectCollectionBase (Int32) Initializes a new instance of the NameObjectCollectionBase class that is empty, has the specified initial capacity, and uses the default hash code provider and the default comparer.

Supported by the .NET Compact Framework.

NameObjectCollectionBase (IHashCodeProvider, IComparer) Initializes a new instance of the NameObjectCollectionBase class that is empty, has the default initial capacity, and uses the specified hash code provider and the specified comparer.

Supported by the .NET Compact Framework.

NameObjectCollectionBase (Int32, IEqualityComparer) Initializes a new instance of the NameObjectCollectionBase class that is empty, has the specified initial capacity, and uses the specified IEqualityComparer object.

Supported by the .NET Compact Framework.

NameObjectCollectionBase (SerializationInfo, StreamingContext) Initializes a new instance of the NameObjectCollectionBase class that is serializable and uses the specified System.Runtime.Serialization.SerializationInfo and System.Runtime.Serialization.StreamingContext.
NameObjectCollectionBase (Int32, IHashCodeProvider, IComparer) Initializes a new instance of the NameObjectCollectionBase class that is empty, has the specified initial capacity and uses the specified hash code provider and the specified comparer.

Supported by the .NET Compact Framework.

Show: