RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAdoDbxParameterCollection.IndexOf Method (String)

Get index of parameter in collection.

Pascal
function IndexOf(Parameter: TObject): Integer; override;
function IndexOf(Name: String): Integer; override;
C++
virtual __fastcall int IndexOf(TObject * Parameter);
virtual __fastcall int IndexOf(AnsiString Name);

IndexOf returns the index in the collection of a given TAdoDbxParameter instance. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!