Aracılığıyla paylaş


WebPartDescriptionCollection Oluşturucular

Tanım

WebPartDescriptionCollection sınıfının yeni bir örneğini başlatır.

Aşırı Yüklemeler

WebPartDescriptionCollection()

sınıfının boş bir yeni örneğini WebPartDescriptionCollection başlatır.

WebPartDescriptionCollection(ICollection)

Bir nesne koleksiyonu geçirerek nesnenin WebPartDescriptionCollection yeni bir ICollection örneğini WebPartDescription başlatır.

WebPartDescriptionCollection()

sınıfının boş bir yeni örneğini WebPartDescriptionCollection başlatır.

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

Açıklamalar

Oluşturucunun WebPartDescriptionCollection bu aşırı yüklemesi boş bir koleksiyon oluşturmak için kullanılabilir. Örneğin, içeri aktarılan açıklama dosyasının ImportCatalogPartnulliçeriği ise denetim boş WebPartDescriptionCollection bir nesne oluşturur.

Şunlara uygulanır

WebPartDescriptionCollection(ICollection)

Bir nesne koleksiyonu geçirerek nesnenin WebPartDescriptionCollection yeni bir ICollection örneğini WebPartDescription başlatır.

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)

Parametreler

webPartDescriptions
ICollection

Katalogdaki WebPartDescriptionWebPart denetimlere karşılık gelen nesne koleksiyonu.

Özel durumlar

webPartDescriptions, null değeridir.

bir üyesi webPartDescriptionsnull

-veya-

üyesi webPartDescriptions türüne sahip bir nesne değildir WebPartDescription

-veya-

öğesinin webPartDescriptions bir üyesinin yinelenen ID özelliği var.

Açıklamalar

OluşturucuWebPartDescriptionCollection(ICollection), çeşitli CatalogPart denetimlerdeki yöntem uygulamaları tarafından GetAvailableWebPartDescriptions bir nesne koleksiyonu WebPartDescription oluşturmak için kullanılır.

Ayrıca bkz.

Şunlara uygulanır