Show: Delphi C++
Display Preferences

AdaptReq.IActionFieldValues.IndexOfField

From XE2 API Documentation
Jump to: navigation, search

Delphi

function IndexOfField(const AName: string): Integer;

C++

virtual int __fastcall IndexOfField(const System::UnicodeString AName) = 0 ;

Properties

Type Visibility Source Unit Parent
function public
AdaptReq.pas
AdaptReq.hpp
AdaptReq IActionFieldValues

Description

Returns the index of a specified field.

IndexOfField returns the index of the field with the specified name. This method performs the reverse lookup from reading the FieldNames property.

AName is the name of the field to locate.

IndexOfField returns the index for the specified field. This index identifies the position of the field in the FieldNames, Values, and OrigValues property arrays. If the current HTTP request does not include a field with the specified name, IndexOfField returns –1.

See Also

Personal tools
Previous Versions
Translations