 | 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.ExtensionsAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic static T Create<T>(
this CAEXDocument document
)
where T : CAEXWrapper
<ExtensionAttribute>
Public Shared Function Create(Of T As CAEXWrapper) (
document As CAEXDocument
) As T
public:
[ExtensionAttribute]
generic<typename T>
where T : CAEXWrapper
static T Create(
CAEXDocument^ document
)
Parameters
- document CAEXDocument
- The CAEX document.
Type Parameters
- T
- The CAEX object Type.
Return Value
TThe 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