Sdílet prostřednictvím


ConsumerConnectionPointCollection Konstruktory

Definice

Inicializuje novou instanci ConsumerConnectionPointCollection třídy.

Přetížení

ConsumerConnectionPointCollection()

Inicializuje novou instanci ConsumerConnectionPointCollection třídy.

ConsumerConnectionPointCollection(ICollection)

Inicializuje novou instanci ConsumerConnectionPointCollection třídy pomocí zadané kolekce přípojných bodů.

ConsumerConnectionPointCollection()

Inicializuje novou instanci ConsumerConnectionPointCollection třídy.

public:
 ConsumerConnectionPointCollection();
public ConsumerConnectionPointCollection ();
Public Sub New ()

Poznámky

Tento konstruktor vytvoří novou instanci ConsumerConnectionPointCollection třídy bez položek v kolekci.

Platí pro

ConsumerConnectionPointCollection(ICollection)

Inicializuje novou instanci ConsumerConnectionPointCollection třídy pomocí zadané kolekce přípojných bodů.

public:
 ConsumerConnectionPointCollection(System::Collections::ICollection ^ connectionPoints);
public ConsumerConnectionPointCollection (System.Collections.ICollection connectionPoints);
new System.Web.UI.WebControls.WebParts.ConsumerConnectionPointCollection : System.Collections.ICollection -> System.Web.UI.WebControls.WebParts.ConsumerConnectionPointCollection
Public Sub New (connectionPoints As ICollection)

Parametry

connectionPoints
ICollection

Kolekce přípojných bodů příjemců

Výjimky

connectionPoints je null.

Kolekce obsahuje neplatný bod připojení.

-nebo-

Kolekce obsahuje položku s duplicitním ID.

Poznámky

Tento konstruktor vytvoří novou instanci ConsumerConnectionPointCollection třídy a přidá body připojení obsažené v connectionPoints parametru.

Platí pro