API:System.Generics.Collections.TObjectDictionary.Create

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

Delphi

constructor Create(Ownerships: TDictionaryOwnerships; ACapacity: Integer = 0); overload;
constructor Create(Ownerships: TDictionaryOwnerships;  const AComparer: IEqualityComparer<TKey>); overload;
constructor Create(Ownerships: TDictionaryOwnerships; ACapacity: Integer;  const AComparer: IEqualityComparer<TKey>); overload;

C++

__fastcall TObjectDictionary__2(TDictionaryOwnerships Ownerships, int ACapacity)/* overload */;
__fastcall TObjectDictionary__2(TDictionaryOwnerships Ownerships, const System::DelphiInterface<System::Generics::Defaults::IEqualityComparer__1<TKey> > AComparer)/* overload */;
__fastcall TObjectDictionary__2(TDictionaryOwnerships Ownerships, int ACapacity, const System::DelphiInterface<System::Generics::Defaults::IEqualityComparer__1<TKey> > AComparer)/* overload */;
/* {System_Generics_Collections}TDictionary<System_Generics_Collections_TObjectDictionary<TKey,TValue>_TKey,System_Generics_Collections_TObjectDictionary<TKey,TValue>_TValue>.Create */ inline __fastcall TObjectDictionary__2()/* overload */ : TDictionary__2<TKey,TValue>() { }
/* {System_Generics_Collections}TDictionary<System_Generics_Collections_TObjectDictionary<TKey,TValue>_TKey,System_Generics_Collections_TObjectDictionary<TKey,TValue>_TValue>.Create */ inline __fastcall TObjectDictionary__2(int ACapacity)/* overload */ : TDictionary__2<TKey,TValue>(ACapacity) { }
/* {System_Generics_Collections}TDictionary<System_Generics_Collections_TObjectDictionary<TKey,TValue>_TKey,System_Generics_Collections_TObjectDictionary<TKey,TValue>_TValue>.Create */ inline __fastcall TObjectDictionary__2(const System::DelphiInterface<System::Generics::Defaults::IEqualityComparer__1<TKey> > AComparer)/* overload */ : TDictionary__2<TKey,TValue>(AComparer) { }
/* {System_Generics_Collections}TDictionary<System_Generics_Collections_TObjectDictionary<TKey,TValue>_TKey,System_Generics_Collections_TObjectDictionary<TKey,TValue>_TValue>.Create */ inline __fastcall TObjectDictionary__2(int ACapacity, const System::DelphiInterface<System::Generics::Defaults::IEqualityComparer__1<TKey> > AComparer)/* overload */ : TDictionary__2<TKey,TValue>(ACapacity, AComparer) { }
/* {System_Generics_Collections}TDictionary<System_Generics_Collections_TObjectDictionary<TKey,TValue>_TKey,System_Generics_Collections_TObjectDictionary<TKey,TValue>_TValue>.Create */ inline __fastcall TObjectDictionary__2(TEnumerable__1<TPair__2<TKey,TValue> >* const Collection)/* overload */ : TDictionary__2<TKey,TValue>(Collection) { }
/* {System_Generics_Collections}TDictionary<System_Generics_Collections_TObjectDictionary<TKey,TValue>_TKey,System_Generics_Collections_TObjectDictionary<TKey,TValue>_TValue>.Create */ inline __fastcall TObjectDictionary__2(TEnumerable__1<TPair__2<TKey,TValue> >* const Collection, const System::DelphiInterface<System::Generics::Defaults::IEqualityComparer__1<TKey> > AComparer)/* overload */ : TDictionary__2<TKey,TValue>(Collection, AComparer) { }

プロパティ

種類 可視性 ソース ユニット
constructor public
System.Generics.Collections.pas
System.Generics.Collections.hpp
System.Generics.Collections TObjectDictionary

説明

ディクショナリを作成します。

System.Generics.Collections.TObjectDictionary.Create は System.Generics.Collections.TDictionary.Create を継承しています。以下の内容はすべて System.Generics.Collections.TDictionary.Create を参照しています。

ディクショナリを作成します。

このオーバーロードされたメソッドは、ディクショナリ インスタンスの作成と初期化を行います。初期の容量(ACapacity)、等値比較関数(AComparer)、またはキーと値の項目の初期コレクション(Collection)を指定するために、多様な組み合わせのパラメータを使用できます。

関連項目