Sdílet prostřednictvím


EqtBaseCollection<T> Constructors

Definition

Overloads

EqtBaseCollection<T>()

Initializes a new instance of the EqtBaseCollection<T> class.

EqtBaseCollection<T>(EqtBaseCollection<T>)

Initializes a new instance of the EqtBaseCollection<T> class by making a shallow copy of the provided EqtBaseCollection<T> object.

EqtBaseCollection<T>(IEqualityComparer)

Initializes a new sortable instance of the EqtBaseCollection<T> class by using the provided comparer.

EqtBaseCollection<T>()

Initializes a new instance of the EqtBaseCollection<T> class.

protected:
 EqtBaseCollection();
protected EqtBaseCollection ();
Protected Sub New ()

Applies to

EqtBaseCollection<T>(EqtBaseCollection<T>)

Initializes a new instance of the EqtBaseCollection<T> class by making a shallow copy of the provided EqtBaseCollection<T> object.

protected:
 EqtBaseCollection(Microsoft::VisualStudio::TestTools::Common::EqtBaseCollection<T> ^ other);
protected EqtBaseCollection (Microsoft.VisualStudio.TestTools.Common.EqtBaseCollection<T> other);
new Microsoft.VisualStudio.TestTools.Common.EqtBaseCollection<'T> : Microsoft.VisualStudio.TestTools.Common.EqtBaseCollection<'T> -> Microsoft.VisualStudio.TestTools.Common.EqtBaseCollection<'T>
Protected Sub New (other As EqtBaseCollection(Of T))

Parameters

other
EqtBaseCollection<T>

An EqtBaseCollection<T> object from which to create a shallow copy.

Applies to

EqtBaseCollection<T>(IEqualityComparer)

Initializes a new sortable instance of the EqtBaseCollection<T> class by using the provided comparer.

protected:
 EqtBaseCollection(System::Collections::IEqualityComparer ^ comparer);
protected EqtBaseCollection (System.Collections.IEqualityComparer comparer);
new Microsoft.VisualStudio.TestTools.Common.EqtBaseCollection<'T> : System.Collections.IEqualityComparer -> Microsoft.VisualStudio.TestTools.Common.EqtBaseCollection<'T>
Protected Sub New (comparer As IEqualityComparer)

Parameters

comparer
IEqualityComparer

An object that is derived from the IEqualityComparer interface, such as the StringComparer class.

Applies to