Click or drag to resize

ComponentComponentSet Class

Represents a collection of child components.
Inheritance Hierarchy
SystemObject
  NeoAxisComponentComponentSet

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public sealed class ComponentSet : ICollection<Component>, 
	IEnumerable<Component>, IEnumerable, ICollection

The ComponentComponentSet type exposes the following members.

Properties
  NameDescription
Public propertyCount
Gets the number of child components.
Public propertyIsReadOnly
Is the collection read only. Always returns false.
Public propertyIsSynchronized
Is the collection synchronized. Always returns false.
Public propertyItem
Finds a child component by path.
Public propertySyncRoot
Gets the object to be synchronized for multi-threaded operation.
Top
Methods
  NameDescription
Public methodAdd
Adds a component as a child.
Public methodClear
Removes all child components.
Public methodClear(Boolean)
Removes all child components.
Public methodContains
Determines whether the object contains the specified child component.
Public methodCopyTo(Array, Int32)
Copies a list of child components to an array.
Public methodCopyTo(Component, Int32)
Copies a list of child components to an array.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetByName(String, Boolean)
Finds a child component by name.
Public methodGetByNameT(String, Boolean)
Finds a child component by name with the specified type.
Public methodGetByNameWithIndex
Finds a child component by name and number in the case when there are several components with the specified name.
Public methodGetByPath
Finds a child component by path.
Public methodGetEnumerator
Returns an enumerator for traversing child components.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLinkedListReadOnly
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUniqueName
Finds a unique name by child components.
Public methodIndexOf
Determines the position of the child components relative to other.
Public methodMoveTo
Moves the child component to another location relative to other children.
Public methodStatic memberParsePathNameWithIndex
Extracts the name and index from the path string.
Public methodRemove(Component)
Removes a child component.
Public methodRemove(Component, Boolean)
Removes a child component.
Public methodReverse
Returns a collection of child components in the reverse order.
Public methodToArray
Copies a list of child components to an array.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
See Also