GraphicChildren MethodsCognex VisionPro 9.23

The GraphicChildren type exposes the following members.

Methods

  NameDescription
Public methodAdd(IGraphicParentChild)

Adds the given item to the end of this collection, with the specified key.

Public methodAdd(IGraphicParentChild, String)

Inserts the given item at the specified index, with the specified key.

Public methodAddRange
Adds the elements of the specified collection to the end of the collection.
Public methodClear

Remove all items from this collection.

Public methodContains(KeyValuePair String, IGraphicParentChild )

Determines whether this dictionary contains the specified key.

Public methodContains(IGraphicParentChild)

Determine whether an item is in this collection.

Public methodContainsKey

Determines whether this dictionary contains the specified key.

Public methodCopyTo( KeyValuePair String, IGraphicParentChild  , Int32)
Public methodCopyTo( IGraphicParentChild , Int32)
Copies all the elements of the collection to the specified one-dimensional array starting at the specified destination array index. The index is specified as a 32-bit integer.
Public methodEquals
Compares the equality of this object with another.
(Overrides ChangedEventShareableBase Equals(Object).)
Public methodGetEnumerator
Returns an IEnumerator for the collection.
Public methodGetHashCode
Returns the hash code of this object.
(Overrides ChangedEventShareableBase GetHashCode .)
Public methodGetItem
Get the item at the specified index.
Public methodGetItemByKey
Get the item at the specified index.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetTypeMeta

Get the TypeMeta that describes the type of this object.

(Overrides ShareableBase GetTypeMeta .)
Public methodIndexOf

Find the first item in this collection that matches the supplied item, and return its index.

Public methodIndexOfKey

Gets the index of the item with the specified key. If the key cannot be found -1 is returned.

Public methodInsert(Int32, IGraphicParentChild)

Inserts the given item at the specified index, with the specified key.

Public methodInsert(Int32, IGraphicParentChild, String)

Add an item to the end of this collection.

Public methodKey

Get the key at the specified index.

Public methodMove

Move the selected item to a new index in this collection.

Public methodRemove

Remove the item with the specified key from this dictionary.

Public methodRemoveAt

Remove the item at the specified index.

Public methodResumeAndRaiseChangedEvent

Re-enables raising of the ChangedEvent after SuspendChangedEvent has been called, and raises the ChangedEvent if the ChangedEventSuspended count is reduced to zero and any changes were made while events were suspended. Must be called once for each call to SuspendChangedEvent.

(Overrides ChangedEventShareableBase ResumeAndRaiseChangedEvent .)
Public methodsetItem(Int32, IGraphicParentChild)

Replace the element at the specified index.

Public methodsetItem(String, IGraphicParentChild)

Replace the element with the specified key. If the key is not a member of this dictionary, insert the key/value pair.

Public methodSetKey

Sets the key of the item at the specified index.

Public methodSuspendChangedEvent

Temporarily suspends the raising of the ChangedEvent. May be called more than once, and a corresponding call to ResumeAndRaiseChangedEvent must be made for each call to SuspendChangedEvent.

(Overrides ChangedEventShareableBase SuspendChangedEvent .)
Public methodToString

Returns a human readable string that represents the object.

(Overrides Object ToString .)
Public methodTryGetByIndex

Get the key and value associated with the specified index.

Public methodTryGetValue

Get the item associated with the specified key.

Top
See Also