System.Bindings.Methods.TBindingMethodsFactory.GetMethodScope
Delphi
class function GetMethodScope: IScope; overload;//returns all
class function GetMethodScope(MethodNames: array of string): IScope; overload;
C++
__classmethod System::Bindings::Evalprotocol::_di_IScope __fastcall GetMethodScope()/* overload */;
__classmethod System::Bindings::Evalprotocol::_di_IScope __fastcall GetMethodScope(System::UnicodeString *MethodNames, const int MethodNames_High)/* overload */;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.Bindings.Methods.pas System.Bindings.Methods.hpp |
System.Bindings.Methods | TBindingMethodsFactory |
説明
指定されたメソッドのスコープを返します。
GetMethodScope メソッドは、指定されたメソッドのスコープを返すために使用されます。GetMethodScope にはオーバーロード メソッドが 2 つあります。
最初の GetMethodScope オーバーロード メソッドは、パラメータを 1 つも取らず、すべての登録メソッドのスコープを返します。
2 つ目の GetMethodScope オーバーロード メソッドは、メソッド名の配列をパラメータに取り(MethodNames
)、それらのスコープを返します。