System.Generics.Collections.TObjectOrderedDictionary.Create
Delphi
constructor Create(Ownerships: TDictionaryOwnerships; ACapacity: NativeInt = 0); overload;
constructor Create(Ownerships: TDictionaryOwnerships;
const AComparer: IEqualityComparer<K>); overload;
constructor Create(Ownerships: TDictionaryOwnerships; ACapacity: NativeInt;
const AComparer: IEqualityComparer<K>); overload;
C++
__fastcall TObjectOrderedDictionary__2(TDictionaryOwnerships Ownerships, System::NativeInt ACapacity)/* overload */;
__fastcall TObjectOrderedDictionary__2(TDictionaryOwnerships Ownerships, const System::DelphiInterface<System::Generics::Defaults::IEqualityComparer__1<K> > AComparer)/* overload */;
__fastcall TObjectOrderedDictionary__2(TDictionaryOwnerships Ownerships, System::NativeInt ACapacity, const System::DelphiInterface<System::Generics::Defaults::IEqualityComparer__1<K> > AComparer)/* overload */;
/* {System_Generics_Collections}TDictionary<System_Generics_Collections_TObjectOrderedDictionary<K,V>_K,System_Generics_Collections_TObjectOrderedDictionary<K,V>_V>.Create */ inline __fastcall TObjectOrderedDictionary__2()/* overload */ : TOrderedDictionary__2<K,V>() { }
/* {System_Generics_Collections}TDictionary<System_Generics_Collections_TObjectOrderedDictionary<K,V>_K,System_Generics_Collections_TObjectOrderedDictionary<K,V>_V>.Create */ inline __fastcall TObjectOrderedDictionary__2(System::NativeInt ACapacity)/* overload */ : TOrderedDictionary__2<K,V>(ACapacity) { }
/* {System_Generics_Collections}TDictionary<System_Generics_Collections_TObjectOrderedDictionary<K,V>_K,System_Generics_Collections_TObjectOrderedDictionary<K,V>_V>.Create */ inline __fastcall TObjectOrderedDictionary__2(const System::DelphiInterface<System::Generics::Defaults::IEqualityComparer__1<K> > AComparer)/* overload */ : TOrderedDictionary__2<K,V>(AComparer) { }
/* {System_Generics_Collections}TDictionary<System_Generics_Collections_TObjectOrderedDictionary<K,V>_K,System_Generics_Collections_TObjectOrderedDictionary<K,V>_V>.Create */ inline __fastcall TObjectOrderedDictionary__2(System::NativeInt ACapacity, const System::DelphiInterface<System::Generics::Defaults::IEqualityComparer__1<K> > AComparer)/* overload */ : TOrderedDictionary__2<K,V>(ACapacity, AComparer) { }
/* {System_Generics_Collections}TDictionary<System_Generics_Collections_TObjectOrderedDictionary<K,V>_K,System_Generics_Collections_TObjectOrderedDictionary<K,V>_V>.Create */ inline __fastcall TObjectOrderedDictionary__2(TEnumerable__1<TPair__2<K,V> >* const Collection)/* overload */ : TOrderedDictionary__2<K,V>(Collection) { }
/* {System_Generics_Collections}TDictionary<System_Generics_Collections_TObjectOrderedDictionary<K,V>_K,System_Generics_Collections_TObjectOrderedDictionary<K,V>_V>.Create */ inline __fastcall TObjectOrderedDictionary__2(TEnumerable__1<TPair__2<K,V> >* const Collection, const System::DelphiInterface<System::Generics::Defaults::IEqualityComparer__1<K> > AComparer)/* overload */ : TOrderedDictionary__2<K,V>(Collection, AComparer) { }
/* {System_Generics_Collections}TDictionary<System_Generics_Collections_TObjectOrderedDictionary<K,V>_K,System_Generics_Collections_TObjectOrderedDictionary<K,V>_V>.Create */ inline __fastcall TObjectOrderedDictionary__2(const TPair__2<K,V> *AItems, const System::NativeInt AItems_High)/* overload */ : TOrderedDictionary__2<K,V>(AItems, AItems_High) { }
/* {System_Generics_Collections}TDictionary<System_Generics_Collections_TObjectOrderedDictionary<K,V>_K,System_Generics_Collections_TObjectOrderedDictionary<K,V>_V>.Create */ inline __fastcall TObjectOrderedDictionary__2(const TPair__2<K,V> *AItems, const System::NativeInt AItems_High, const System::DelphiInterface<System::Generics::Defaults::IEqualityComparer__1<K> > AComparer)/* overload */ : TOrderedDictionary__2<K,V>(AItems, AItems_High, AComparer) { }
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
constructor | public | System.Generics.Collections.pas System.Generics.Collections.hpp |
System.Generics.Collections | TObjectOrderedDictionary |
説明
ディクショナリを作成します。
System.Generics.Collections.TObjectOrderedDictionary.Create は System.Generics.Collections.TDictionary.Create を継承しています。以下の内容はすべて System.Generics.Collections.TDictionary.Create を参照しています。
ディクショナリを作成します。
このオーバーロードされたメソッドは、ディクショナリ インスタンスの作成と初期化を行います。初期の容量(ACapacity)、等値比較関数(AComparer)、またはキーと値の項目の初期コレクション(Collection)を指定するために、多様な組み合わせのパラメータを使用できます。