WebPartDescriptionCollection 클래스

정의

컨트롤 카탈로그 WebPartDescription 와 함께 사용할 개체 컬렉션 WebPart 으로 구성됩니다. 이 클래스는 상속할 수 없습니다.

public ref class WebPartDescriptionCollection sealed : System::Collections::ReadOnlyCollectionBase
public sealed class WebPartDescriptionCollection : System.Collections.ReadOnlyCollectionBase
type WebPartDescriptionCollection = class
    inherit ReadOnlyCollectionBase
Public NotInheritable Class WebPartDescriptionCollection
Inherits ReadOnlyCollectionBase
상속
WebPartDescriptionCollection

설명

클래스는 WebPartDescriptionCollection 메서드의 구현에서 다양 CatalogPart 한 컨트롤에 의해 만들어집니다 GetAvailableWebPartDescriptions . 컨트롤에 포함된 각 WebPart 컨트롤에 CatalogPart 대해 개체가 WebPartDescription 만들어집니다. 이 개체는 ID, 제목, 설명 및 연결된 아이콘의 경로를 포함하여 컨트롤에 대한 WebPart 기본 정보를 유지 관리합니다. 다양한 CatalogPart 컨트롤은 개체를 WebPartDescription 사용하여 컨트롤 자체의 인스턴스를 WebPart 만들지 않고도 카탈로그에 컨트롤의 WebPart 정보를 표시할 수 있습니다.

WebPartDescriptionCollection 클래스는 웹 파트 컨트롤 집합에서 내부적으로 사용하여 카탈로그에 사용되는 모든 WebPartDescription 개체의 컬렉션을 유지 관리합니다. 컬렉션은 WebPartDescriptionCollection 페이지가 카탈로그 표시 모드인 경우에만 사용됩니다. 컨트롤이 CatalogPart 렌더링될 때 컬렉션을 반복 WebPartDescriptionCollection 하여 각 WebPartDescription 개체의 정보를 표시된 카탈로그에 추가합니다.

생성자

Name Description
WebPartDescriptionCollection()

클래스의 빈 새 인스턴스를 초기화합니다 WebPartDescriptionCollection .

WebPartDescriptionCollection(ICollection)

개체 컬렉션을 전달하여 개체의 WebPartDescriptionCollectionICollection 새 인스턴스를 WebPartDescription 초기화합니다.

속성

Name Description
Count

인스턴스에 포함된 ReadOnlyCollectionBase 요소 수를 가져옵니다.

(다음에서 상속됨 ReadOnlyCollectionBase)
InnerList

인스턴스에 포함된 ReadOnlyCollectionBase 요소 목록을 가져옵니다.

(다음에서 상속됨 ReadOnlyCollectionBase)
Item[Int32]

컬렉션 내의 인덱스 기반 컬렉션의 멤버를 가져옵니다.

Item[String]

고유한 문자열 식별자를 기반으로 컬렉션의 멤버를 가져옵니다.

메서드

Name Description
Contains(WebPartDescription)

컬렉션에 특정 컨트롤이 있는지 여부를 나타내는 값을 반환합니다.

CopyTo(WebPartDescription[], Int32)

컬렉션을 개체 배열 WebPartDescription 에 복사합니다.

Equals(Object)

지정된 개체가 현재 개체와 같은지 여부를 확인합니다.

(다음에서 상속됨 Object)
GetEnumerator()

인스턴스를 반복하는 열거자를 반환합니다 ReadOnlyCollectionBase .

(다음에서 상속됨 ReadOnlyCollectionBase)
GetHashCode()

기본 해시 함수로 사용됩니다.

(다음에서 상속됨 Object)
GetType()

현재 인스턴스의 Type 가져옵니다.

(다음에서 상속됨 Object)
IndexOf(WebPartDescription)

컬렉션의 특정 멤버 위치를 반환합니다.

MemberwiseClone()

현재 Object단순 복사본을 만듭니다.

(다음에서 상속됨 Object)
ToString()

현재 개체를 나타내는 문자열을 반환합니다.

(다음에서 상속됨 Object)

명시적 인터페이스 구현

Name Description
ICollection.CopyTo(Array, Int32)

대상 배열의 지정된 인덱스에서 시작하여 호환되는 1차원ReadOnlyCollectionBase으로 전체를 Array 복사합니다.

(다음에서 상속됨 ReadOnlyCollectionBase)
ICollection.IsSynchronized

개체에 대한 액세스 ReadOnlyCollectionBase 가 동기화되는지 여부를 나타내는 값을 가져옵니다(스레드로부터 안전).

(다음에서 상속됨 ReadOnlyCollectionBase)
ICollection.SyncRoot

개체에 대한 액세스를 동기화하는 데 사용할 수 있는 개체를 ReadOnlyCollectionBase 가져옵니다.

(다음에서 상속됨 ReadOnlyCollectionBase)

확장명 메서드

Name Description
AsParallel(IEnumerable)

쿼리의 병렬 처리를 사용하도록 설정합니다.

AsQueryable(IEnumerable)

IEnumerable IQueryable변환합니다.

Cast<TResult>(IEnumerable)

IEnumerable 요소를 지정된 형식으로 캐스팅합니다.

OfType<TResult>(IEnumerable)

지정된 형식에 따라 IEnumerable 요소를 필터링합니다.

적용 대상

추가 정보