RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDataSetAdapter.GetDefaultMode Method

Returns the default mode for this adapter.

Pascal
function GetDefaultMode: TDataSetAdapterMode; virtual;
C++
virtual __fastcall TDataSetAdapterMode GetDefaultMode();

GetDefaultMode returns the value of the Mode property when InDefaultMode is true. This is the dataset adapter mode when the current request does not specify a mode for this adapter. 

In TCustomDataSetAdapter, GetDefaultMode returns amBrowse. 

 

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