RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IAdapterModes.FindAdapterMode Method

Retrieves the mode for a specified adapter.

Pascal
function FindAdapterMode(AAdapter: TObject; var AMode: string): Boolean;
C++
__fastcall Boolean FindAdapterMode(TObject * AAdapter, AnsiString AMode);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!