Click or drag to resize

AMLEngineAdapterInsert_NewInstance Method

Note: This API is now obsolete.

Inserting a new class instance to this object. This method can be overridden in derived classes. The Instance is inserted as the first instance of any other element with the same type if nothing else is explicit defined.

Namespace: Aml.Engine.Adapter
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
[ObsoleteAttribute("Use Insert Method instead", false)]
public static bool Insert_NewInstance(
	this CAEXBasicObject caexObject,
	CAEXWrapper newInstanceObject,
	bool asFirst = true
)

Parameters

caexObject  CAEXBasicObject
The CAEX object.
newInstanceObject  CAEXWrapper
The instance of a class to be inserted at this object. The instance can be of type
asFirst  Boolean  (Optional)
if true, inserted as first (default), otherwise at last

Return Value

Boolean
True if insertion was successful, else false.

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