Click or drag to resize

CAEXElementFactoryCreateT(CAEXDocument) Method

Factory method to create a new CAEX object in the provided CAEX document. The CAEX element is derived from the specified CAEX object Type. To insert the new CAEX object into the document an appropriate insertion method has to be used.

Namespace: Aml.Engine.CAEX.Extensions
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
public static T Create<T>(
	this CAEXDocument document
)
where T : CAEXWrapper

Parameters

document  CAEXDocument
The CAEX document.

Type Parameters

T
The CAEX object Type.

Return Value

T
The created CAEX object.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type CAEXDocument. 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).
Exceptions
See Also