Data.Bind.Components.TCommonBindComponent.GetComponentScopes
[–] Properties | |
---|---|
Type: function | |
Visibility: protected | |
Source: Data.Bind.Components.pas Data.Bind.Components.hpp
| |
Unit: Data.Bind.Components | |
Parent: TCommonBindComponent |
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 */;
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).