 | CAEXBasicObjectExtensionsFindCaexObjectFromIdT Method |
Finds the CAEX object with the specified id and the specified Type.
Namespace: Aml.Engine.CAEX.ExtensionsAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic static T FindCaexObjectFromId<T>(
this ICAEXWrapper caexObject,
string id
)
where T : CAEXBasicObject
<ExtensionAttribute>
Public Shared Function FindCaexObjectFromId(Of T As CAEXBasicObject) (
caexObject As ICAEXWrapper,
id As String
) As T
public:
[ExtensionAttribute]
generic<typename T>
where T : CAEXBasicObject
static T FindCaexObjectFromId(
ICAEXWrapper^ caexObject,
String^ id
)
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
See Also