Click or drag to resize

CAEXBasicObjectExtensionsFindCaexObjectFromIdT Method

Finds the CAEX object with the specified id and the specified Type.

Namespace: Aml.Engine.CAEX.Extensions
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
public static T FindCaexObjectFromId<T>(
	this ICAEXWrapper caexObject,
	string id
)
where T : CAEXBasicObject

Parameters

caexObject  ICAEXWrapper
CAEX object, used to identify the document for the search.
id  String
Id of the CAEX object.

Type Parameters

T
CAEX element type of the searched CAEX object.

Return Value

T
CAEX object with the given id or null, if not found.

Usage Note

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