REST.BindSource.TRESTComponentAdapter.GetCanActivate
Delphi
function GetCanActivate: Boolean; override;
C++
virtual bool __fastcall GetCanActivate();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | REST.BindSource.pas REST.BindSource.hpp |
REST.BindSource | TRESTComponentAdapter |
Description
Getter method for the CanActivate property.
REST.BindSource.TRESTComponentAdapter.GetCanActivate inherits from Data.Bind.ObjectScope.TBindSourceAdapter.GetCanActivate. All content below this line refers to Data.Bind.ObjectScope.TBindSourceAdapter.GetCanActivate.
Getter method for the CanActivate property.
GetCanActivate determines whether the source adapter can be activated.
- Note: This method always returns
True
, so descendant classes must override the GetCanActivate method to returnTrue
if the source adapter can be activated orFalse
otherwise.