Skip to content
This repository has been archived by the owner on Jun 22, 2019. It is now read-only.

M_CAEX_ClassModel_CAEXBasicObject_Descendants_1

AutomationML edited this page Feb 23, 2017 · 2 revisions

CAEXBasicObject.Descendants Method (Type, Func(XmlNode, CAEXBasicObject))

Gets all Descendants of this instance which are of the specified descendantType. This returns all subordinate Children and their Descendants.

Namespace: CAEX_ClassModel
Assembly: AMLEngine (in AMLEngine.dll) Version: 3.5

Syntax

C#

public IEnumerable<CAEXBasicObject> Descendants(
	Type descendantType,
	Func<XmlNode, CAEXBasicObject> creator
)

C++

public:
IEnumerable<CAEXBasicObject^>^ Descendants(
	Type^ descendantType, 
	Func<XmlNode^, CAEXBasicObject^>^ creator
)

Parameters

 

descendantType
Type: System.Type
The Type of the Descendants
creator
Type: System.Func(XmlNode, CAEXBasicObject)
The Creator Method for the Wrapper

Return Value

Type: IEnumerable(CAEXBasicObject)
IEnumerable.

See Also

Reference

CAEXBasicObject Class
Descendants Overload
CAEX_ClassModel Namespace
CAEXBasicObject.Descendants(T)()

  • 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
BEST Practice Content

Extensions

CAEX Elements

AutomationML

Utilities

Interfaceclasses

Exceptions

Objecttables and Document validation

Clone this wiki locally