System.Bindings.Factories.TBindingScopeFactory.GetBestFitScope

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

class function GetBestFitScope(ObjectType: TClass): TScopeClass;

C++

__classmethod System::Bindings::Customscope::TScopeClass __fastcall GetBestFitScope(System::TClass ObjectType);

プロパティ

種類 可視性 ソース ユニット
function public
System.Bindings.Factories.pas
System.Bindings.Factories.hpp
System.Bindings.Factories TBindingScopeFactory

説明

指定されたオブジェクト型に関連づけられているスコープ クラスを返します。

GetBestFitScope メソッドは、指定されたオブジェクト型に関連づけられているスコープ クラスを返します。 オブジェクト型が登録されていない場合、GetBestFitScope は、指定されたオブジェクト型に対して最も近い登録上位クラスの、スコープ クラスを返します。上位クラスが見つからなかった場合、GetBestFitScopenil を返します。

関連項目