Gets the item with the given name. Throws an exception if none is found.
Namespace:
Autodesk.iLogic.Interfaces
Assembly:
Autodesk.iLogic.Interfaces (in Autodesk.iLogic.Interfaces.dll) Version: 25.0
Syntax
VB
Function ItemByName (
name As String
) As TManagedItem
C#
TManagedItem ItemByName(
string name
)
Parameters
- name
- Type: System.String
Return Value
Type:
TManagedItemThe item.
Remarks
This is called ItemByName to avoid collision with the Item property defined on the IReadOnlyList interface.
In future, we might want to implement the IReadOnlyList interface on some of the same objects that implement this one.
The method name ItemByName also occurs in the Inventor API.
See Also
Reference