This repository has been archived by the owner on Jun 22, 2019. It is now read-only.
T_CAEX_ClassModel_Validation_ElementCollection_1
AutomationML edited this page Feb 23, 2017
·
2 revisions
Class ElementCollection is a List of XmlElements or ReferenceElement. This class overrides the Contains-Method.
System.Object
CAEX_ClassModel.Validation.ElementCollection(T)
Namespace: CAEX_ClassModel.Validation
Assembly: AMLEngine (in AMLEngine.dll) Version: 3.5
C#
public class ElementCollection<T> : IList<T>,
ICollection<T>, IEnumerable<T>, IEnumerable
C++
generic<typename T>
public ref class ElementCollection : IList<T>,
ICollection<T>, IEnumerable<T>, IEnumerable
- T
- Should be either XmlElement or ReferenceElement.
Name | Description | |
---|---|---|
ElementCollection(T) | Initializes a new instance of the ElementCollection(T) class |
Name | Description | |
---|---|---|
Count | Gets the number of elements contained in the ICollection(T). | |
IsReadOnly | Gets a value indicating whether the ICollection(T) is read-only. | |
Item | Gets or sets the element at the specified index. |
Name | Description | |
---|---|---|
Add | Adds an item to the ICollection(T). | |
Clear | Removes all items from the ICollection(T). | |
Contains | Determines whether the ICollection(T) contains a specific value. | |
CopyTo | Copies the array elements, starting from the specified index, to the collection. | |
Elements | If the collection contains ReferenceElements, alls ReferenceElements with a reference to the XmlElement are returned. | |
GetEnumerator | Returns an enumerator that iterates through the collection. | |
IndexOf | Determines the index of a specific item in the IList(T). | |
Insert | Inserts an item to the IList(T) at the specified index. | |
Remove | Removes the first occurrence of a specific object from the ICollection(T). | |
RemoveAt | Removes the IList(T) item at the specified index. |
Name | Description | |
---|---|---|
FindCaexObjectByName | Find a Caex-Object by Name in the provided Collection of CAEXObjects (Defined by MappingExtension.) |
Name | Description | |
---|---|---|
IEnumerable.GetEnumerator | Gibt einen Enumerator zurück, der eine Auflistung durchläuft. |
AMLEngine Documentation
Send comments on this topic to [AutomationML office](mailto:office%40automationml.org?Subject=AMLEngine Documentation)- Introduction
- [Version History](Version history)
- [Version 3.5](Version 3.4)
- [Version 3.1](Version 3.0)
- [Version 2.1](Version 2.1)
- [Version 2.0](Version 2.0)
- [Getting Started](Getting started)
- Examples
- AMLEngine API
- AttributeType
- AttributeValueRequirementType
- CAEXBasicObject
- CAEXDocument
- CAEXFileType
- CAEXObject
- ChangeModeStates
- CopyrightType
- DescriptionType
- ExternalInterfaceType
- ExternalReferenceType
- InstanceHierarchyType
- InterfaceClassLibType
- InterfaceClassType
- InterfaceFamilyType
- InterfaceNameMappingType
- InternalElementType
- InternalLinkType
- MappingType
- NominalScaledTypeType
- ObjectWithAttributes
- OrdinalScaledTypeType
- RefSemanticType
- RevisionType
- RoleClassLibType
- RoleClassType
- RoleFamilyType
- RoleRequirementsType
- SupportedRoleClassType
- SystemUnitClassLibType
- SystemUnitClassType
- SystemUnitFamilyType
- UnknownTypeType
- VersionType
- IClassWithBaseClassReference
- IInstantiable
- IObjectWithAttributes
- IObjectWithExternalInterface
- IObjectWithRoleReference
- CAEXPathReferenceTable Class
- CAEXTable(T) Class
- CAEXTables Class
- ElementCollection(T) Class
- PathReferenceElement Class
- ReferenceElement Class
- RepairTypeEnum Enumeration
- UpdateActionEnum Enumeration
- UpdateEventArgs Class
- ValidationElement Class
- ValidationKey Class
- ValidationTypeEnum Enumeration
- CAEX_ClassModel.XmlExtension Namespace