WebPartDescriptionCollection 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
WebPartDescriptionCollection 클래스의 새 인스턴스를 초기화합니다.
오버로드
| Name | Description |
|---|---|
| WebPartDescriptionCollection() |
클래스의 빈 새 인스턴스를 초기화합니다 WebPartDescriptionCollection . |
| WebPartDescriptionCollection(ICollection) |
개체 컬렉션을 전달하여 개체의 WebPartDescriptionCollectionICollection 새 인스턴스를 WebPartDescription 초기화합니다. |
WebPartDescriptionCollection()
클래스의 빈 새 인스턴스를 초기화합니다 WebPartDescriptionCollection .
public:
WebPartDescriptionCollection();
public WebPartDescriptionCollection();
Public Sub New ()
설명
이 생성자의 오버로드는 WebPartDescriptionCollection 빈 컬렉션을 만드는 데 사용할 수 있습니다. 예를 들어 가져온 ImportCatalogPart 설명 파일WebPartDescriptionCollection의 내용이 있으면 컨트롤에서 빈 null 개체를 만듭니다.
적용 대상
WebPartDescriptionCollection(ICollection)
개체 컬렉션을 전달하여 개체의 WebPartDescriptionCollectionICollection 새 인스턴스를 WebPartDescription 초기화합니다.
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)
매개 변수
- webPartDescriptions
- ICollection
카탈로그의 WebPartDescription 컨트롤에 WebPart 해당하는 개체의 컬렉션입니다.
예외
webPartDescriptions은 null입니다.
is의 webPartDescriptions 멤버 null
-또는-
멤버가 형식의 webPartDescriptions 개체가 아닌 경우 WebPartDescription
-또는-
멤버에 webPartDescriptions 중복 ID 속성이 있습니다.
설명
WebPartDescriptionCollection(ICollection) 생성자는 개체의 GetAvailableWebPartDescriptions 컬렉션을 CatalogPart 만들기 위해 다양 WebPartDescription 한 컨트롤 내에서 메서드 구현에 의해 사용 됩니다.