 | AMLEngineAdapterInsert_Element Method |
Note: This API is now obsolete.
Inserting an element of base type TypeBase to this object. The Element is inserted at the first Element
of any existing Elements of the same Type if nothing else is explicit defined.
Namespace: Aml.Engine.AdapterAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax[ObsoleteAttribute("Use Insert instead.")]
public static bool Insert_Element(
this CAEXBasicObject caexObject,
CAEXWrapper elementToInsert,
bool asFirst = true
)
<ExtensionAttribute>
<ObsoleteAttribute("Use Insert instead.")>
Public Shared Function Insert_Element (
caexObject As CAEXBasicObject,
elementToInsert As CAEXWrapper,
Optional asFirst As Boolean = true
) As Boolean
public:
[ExtensionAttribute]
[ObsoleteAttribute(L"Use Insert instead.")]
static bool Insert_Element(
CAEXBasicObject^ caexObject,
CAEXWrapper^ elementToInsert,
bool asFirst = true
)
Parameters
- caexObject CAEXBasicObject
- The CAEX object.
- elementToInsert CAEXWrapper
- The element to insert.
- asFirst Boolean (Optional)
- Inserted at first element (true) or appended as last (false),
Return Value
Booleantrue if inserted,
false otherwise.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
CAEXBasicObject. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also