System.Generics.Defaults.TDelegatedComparer.Create
Delphi
constructor Create(const ACompare: TComparison<T>);
C++
__fastcall TDelegatedComparer__1(const System::DelphiInterface<TComparison__1<T> > ACompare);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
constructor | public | System.Generics.Defaults.pas System.Generics.Defaults.hpp |
System.Generics.Defaults | TDelegatedComparer |
説明
TDelegatedComparer の新しいインスタンスを作成します。
Create メソッドを使用すると、TDelegatedComparer クラスの新しいインスタンスを作成できます。 ACompare は、すべての比較要求を処理する TComparison ルーチンへの参照です。
関連項目
- System.Generics.Defaults.TDelegatedComparer.Destroy
- System.Generics.Defaults.TDelegatedComparer.Compare