GH_IReaderFindItem Method (String, Int32) |
Finds the first item that matches the given name and index.
Only items with index qualifiers are considered.
Name comparisons are not case-sensitive.
Namespace:
GH_IO.Serialization
Assembly:
GH_IO (in GH_IO.dll)
Syntax GH_Item FindItem(
string name,
int index
)
Function FindItem (
name As String,
index As Integer
) As GH_Item
Parameters
- name
- Type: SystemString
Name of item to search for. - index
- Type: SystemInt32
Index of item to search for.
If less than zero, then FindItem(string name) is called instead.
Return Value
Type:
GH_ItemThe item that matches the given name and index,
or null of no matching item could be found.
See Also