Share

IManagedCollectionWrapper(T, TManagedItem, TUnmanagedItem).ItemByName Method

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: 30.0

Syntax

VB

Function ItemByName ( 
	name As String
) As TManagedItem

C#

TManagedItem ItemByName(
	string name
)

Parameters

name
Type: System.String

Return Value

Type: TManagedItem
The 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

Was this information helpful?