|
RAD Studio VCL Reference
|
Returns the index of the first item in the list with a specified name.
function IndexOfName(const Name: string): Integer; virtual;
virtual __fastcall int IndexOfName(const AnsiString Name);
Call IndexOfName to determine where a name appears in the list, if it appears at all.
Name is the name to locate in the list.
If Name appears as the name part of a name/Variant pair in the list, IndexOfName returns the index of the first item with that name. If there are no items with the specified name, IndexOfName returns –1.
|
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
|
What do you think about this topic? Send feedback!
|