Data.Bind.Components.TCommonBindComponent.GetComponentScopes
Delphi
function GetComponentScopes(AComponent: TComponent; const AMemberName: string=''): TArray<IScope>; overload;
function GetComponentScopes(AComponentScope: IScope): TArray<IScope>; overload;
C++
System::DynamicArray<System::Bindings::Evalprotocol::_di_IScope> __fastcall GetComponentScopes(System::Classes::TComponent* AComponent, const System::UnicodeString AMemberName = System::UnicodeString())/* overload */;
System::DynamicArray<System::Bindings::Evalprotocol::_di_IScope> __fastcall GetComponentScopes(System::Bindings::Evalprotocol::_di_IScope AComponentScope)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Data.Bind.Components.pas Data.Bind.Components.hpp |
Data.Bind.Components | TCommonBindComponent |
Description
Returns all the scopes of a specific component, member, or both.
GetComponentScopes returns an array of scopes, taking in, as parameters, a component and a member name (for the first overloaded method), or a component scope (for the second overloaded method).