Show: Delphi C++
Display Preferences

AdaptReq.IAdapterModes.FindAdapterMode

From XE2 API Documentation
Jump to: navigation, search

Delphi

function FindAdapterMode(AAdapter: TObject; var AMode: string): Boolean;

C++

virtual bool __fastcall FindAdapterMode(System::TObject* AAdapter, System::UnicodeString &AMode) = 0 ;

Properties

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

Description

Retrieves the mode for a specified adapter.

FindAdapterMode extracts the mode for a specified adapter from the HTTP request.

AAdapter is the adapter object whose mode you want to extract. The variable name for the adapter is one of the strings that the AdapterNames property lists.

AMode returns the mode string, if any, that the request stores for the specified adapter.

FindAdapterMode returns true if the request has a mode stored for the specified adapter. When FindAdapterMode returns true , the AMode parameter returns the mode string. FindAdapterMode returns false if the request does not include a mode for the specified adapter. When FindAdapterMode returns false, the AMode parameter is unchanged.

See Also

Personal tools
Previous Versions
Translations