WebPartDescriptionCollection Constructors

Definitie

Initialiseert een nieuw exemplaar van de WebPartDescriptionCollection klasse.

Overloads

Name Description
WebPartDescriptionCollection()

Initialiseert een leeg nieuw exemplaar van de WebPartDescriptionCollection klasse.

WebPartDescriptionCollection(ICollection)

Initialiseert een nieuw exemplaar van een WebPartDescriptionCollection object door een ICollection verzameling WebPartDescription objecten door te geven.

WebPartDescriptionCollection()

Initialiseert een leeg nieuw exemplaar van de WebPartDescriptionCollection klasse.

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

Opmerkingen

Deze overbelasting van de WebPartDescriptionCollection constructor kan worden gebruikt om een lege verzameling te maken. Het besturingselement maakt bijvoorbeeld ImportCatalogPart een leeg WebPartDescriptionCollection object als de inhoud van een geïmporteerd beschrijvingsbestand is null.

Van toepassing op

WebPartDescriptionCollection(ICollection)

Initialiseert een nieuw exemplaar van een WebPartDescriptionCollection object door een ICollection verzameling WebPartDescription objecten door te geven.

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

Parameters

webPartDescriptions
ICollection

Een verzameling WebPartDescription objecten die overeenkomen met de WebPart besturingselementen in een catalogus.

Uitzonderingen

webPartDescriptions is null.

Lid van webPartDescriptions is null

– of –

Een lid is webPartDescriptions geen object van het type WebPartDescription

– of –

Een lid heeft webPartDescriptions een dubbele ID eigenschap.

Opmerkingen

De WebPartDescriptionCollection(ICollection) constructor wordt gebruikt door de GetAvailableWebPartDescriptions methode-implementaties binnen de verschillende CatalogPart besturingselementen om een verzameling WebPartDescription objecten te maken.

Zie ook

Van toepassing op