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.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)


public ref class DiagramItemCollection : CollectionBase, IEnumerable<DiagramItem^>, 
	IEnumerable

NameDescription
System_CAPS_pubmethodDiagramItemCollection()

Initializes a new instance of the DiagramItemCollection class.

NameDescription
System_CAPS_pubpropertyCapacity

(Inherited from CollectionBase.)

System_CAPS_pubpropertyCount

(Inherited from CollectionBase.)

System_CAPS_protpropertyInnerList

(Inherited from CollectionBase.)

System_CAPS_pubpropertyItem[Int32]

Gets the DiagramItem at the specified position in the collection.

System_CAPS_protpropertyList

(Inherited from CollectionBase.)

NameDescription
System_CAPS_pubmethodAdd(DiagramItem^)

Adds a specific DiagramItem to the collection.

System_CAPS_pubmethodAdd(ICollection^)

Adds the DiagramItem of an ICollection to the end of the DiagramItemCollection

System_CAPS_pubmethodClear()

(Inherited from CollectionBase.)

System_CAPS_pubmethodContains(DiagramItem^)

Determines whether a DiagramItem is in the collection.

System_CAPS_pubmethodCopyTo(array<DiagramItem^>^, Int32)

Copies the DiagramItems of the selection to an Array, starting at a particular Array index.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetEnumerator()

Gets a DiagramItem enumerator for this collection.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIndexOf(DiagramItem^)

Returns the zero-based index of the DiagramItem in the collection.

System_CAPS_pubmethodInsert(Int32, DiagramItem^)

Inserts the DiagramItem into the collection at the specified index.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodOnClear()

(Inherited from CollectionBase.)

System_CAPS_protmethodOnClearComplete()

(Inherited from CollectionBase.)

System_CAPS_protmethodOnInsert(Int32, Object^)

(Inherited from CollectionBase.)

System_CAPS_protmethodOnInsertComplete(Int32, Object^)

(Inherited from CollectionBase.)

System_CAPS_protmethodOnRemove(Int32, Object^)

(Inherited from CollectionBase.)

System_CAPS_protmethodOnRemoveComplete(Int32, Object^)

(Inherited from CollectionBase.)

System_CAPS_protmethodOnSet(Int32, Object^, Object^)

(Inherited from CollectionBase.)

System_CAPS_protmethodOnSetComplete(Int32, Object^, Object^)

(Inherited from CollectionBase.)

System_CAPS_protmethodOnValidate(Object^)

(Inherited from CollectionBase.)

System_CAPS_pubmethodRemove(DiagramItem^)

Removes the first occurrence of a specific DiagramItem from the collection.

System_CAPS_pubmethodRemove(ICollection^)

Removes the specified DiagramItems from an ICollection

System_CAPS_pubmethodRemoveAt(Int32)

(Inherited from CollectionBase.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: