DiagramItemCollection Class
A collection of DiagramItem instances. A DiagramItem represents a ShapeElement, ShapeField, or ShapeSubField instance on the diagram and is used for such things as hit-testing and selection.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
System.Collections::CollectionBase
Microsoft.VisualStudio.Modeling.Diagrams::DiagramItemCollection
Microsoft.VisualStudio.Modeling.Diagrams::HighlightedShapesCollection
| Name | Description | |
|---|---|---|
![]() | DiagramItemCollection() | Initializes a new instance of the DiagramItemCollection class. |
| Name | Description | |
|---|---|---|
![]() | Capacity | (Inherited from CollectionBase.) |
![]() | Count | (Inherited from CollectionBase.) |
![]() | InnerList | (Inherited from CollectionBase.) |
![]() | Item[Int32] | Gets the DiagramItem at the specified position in the collection. |
![]() | List | (Inherited from CollectionBase.) |
| Name | Description | |
|---|---|---|
![]() | Add(DiagramItem^) | Adds a specific DiagramItem to the collection. |
![]() | Add(ICollection^) | Adds the DiagramItem of an ICollection to the end of the DiagramItemCollection |
![]() | Clear() | (Inherited from CollectionBase.) |
![]() | Contains(DiagramItem^) | Determines whether a DiagramItem is in the collection. |
![]() | CopyTo(array<DiagramItem^>^, Int32) | Copies the DiagramItems of the selection to an Array, starting at a particular Array index. |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetEnumerator() | Gets a DiagramItem enumerator for this collection. |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | IndexOf(DiagramItem^) | Returns the zero-based index of the DiagramItem in the collection. |
![]() | Insert(Int32, DiagramItem^) | Inserts the DiagramItem into the collection at the specified index. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | OnClear() | (Inherited from CollectionBase.) |
![]() | OnClearComplete() | (Inherited from CollectionBase.) |
![]() | OnInsert(Int32, Object^) | (Inherited from CollectionBase.) |
![]() | OnInsertComplete(Int32, Object^) | (Inherited from CollectionBase.) |
![]() | OnRemove(Int32, Object^) | (Inherited from CollectionBase.) |
![]() | OnRemoveComplete(Int32, Object^) | (Inherited from CollectionBase.) |
![]() | OnSet(Int32, Object^, Object^) | (Inherited from CollectionBase.) |
![]() | OnSetComplete(Int32, Object^, Object^) | (Inherited from CollectionBase.) |
![]() | OnValidate(Object^) | (Inherited from CollectionBase.) |
![]() | Remove(DiagramItem^) | Removes the first occurrence of a specific DiagramItem from the collection. |
![]() | Remove(ICollection^) | Removes the specified DiagramItems from an ICollection |
![]() | RemoveAt(Int32) | (Inherited from CollectionBase.) |
![]() | ToString() | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | ICollection::CopyTo(Array^, Int32) | (Inherited from CollectionBase.) |
![]() ![]() | IList::Add(Object^) | (Inherited from CollectionBase.) |
![]() ![]() | IList::Contains(Object^) | (Inherited from CollectionBase.) |
![]() ![]() | IList::IndexOf(Object^) | (Inherited from CollectionBase.) |
![]() ![]() | IList::Insert(Int32, Object^) | (Inherited from CollectionBase.) |
![]() ![]() | IList::Remove(Object^) | (Inherited from CollectionBase.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.





