DiagramItemCollection 클래스

정의

DiagramItem 인스턴스의 컬렉션입니다. DiagramItem은 다이어그램의 ShapeElement, ShapeField 또는 ShapeSubField instance 나타내며 적중 테스트 및 선택과 같은 작업에 사용됩니다.

public ref class DiagramItemCollection : System::Collections::CollectionBase, System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Modeling::Diagrams::DiagramItem ^>
public class DiagramItemCollection : System.Collections.CollectionBase, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem>
type DiagramItemCollection = class
    inherit CollectionBase
    interface seq<DiagramItem>
    interface IEnumerable
Public Class DiagramItemCollection
Inherits CollectionBase
Implements IEnumerable(Of DiagramItem)
상속
DiagramItemCollection
파생
구현

생성자

DiagramItemCollection()

DiagramItemCollection 클래스의 새 instance 초기화합니다.

속성

Item[Int32]

컬렉션의 지정된 위치에 있는 DiagramItem을 가져옵니다.

메서드

Add(DiagramItem)

컬렉션에 특정 DiagramItem을 추가합니다.

Add(ICollection)

ICollection의 DiagramItem을 DiagramItemCollection 끝에 추가합니다.

Contains(DiagramItem)

DiagramItem이 컬렉션에 있는지 여부를 확인합니다.

CopyTo(DiagramItem[], Int32)

선택 영역의 DiagramItems를 특정 배열 인덱스에서 시작하여 배열에 복사합니다.

GetEnumerator()

이 컬렉션에 대한 DiagramItem 열거자를 가져옵니다.

IndexOf(DiagramItem)

컬렉션에 있는 DiagramItem의 인덱스(0부터 시작)를 반환합니다.

Insert(Int32, DiagramItem)

지정된 인덱스의 컬렉션에 DiagramItem을 삽입합니다.

Remove(DiagramItem)

컬렉션에서 특정 DiagramItem의 첫 번째 항목을 제거합니다.

Remove(ICollection)

ICollection에서 지정된 DiagramItems를 제거합니다.

확장 메서드

EmptyIfNull<T>(IEnumerable<T>)

null이 아닌 경우 이 열거형을 반환합니다. null인 경우 빈 열거형을 반환합니다.

적용 대상