System::Collections::Generic::_KeyList クラス
_KeyList class
dictionary のキーのリストを実装します。このクラスのオブジェクトは System::MakeObject() 関数を使用してのみ割り当てるべきです。スタック上や operator new を使ってインスタンスを作成しないでください。そうしないと実行時エラーやアサーション失敗が発生します。常にこのクラスを System::SmartPtr ポインタでラップし、そのポインタを関数の引数として渡すようにしてください。
template<typename Dict>class _KeyList : public System::Collections::Generic::_KeyCollection<Dict>
| パラメーター | 説明 |
|---|---|
| Dict | Dictionary 型。 |
メソッド
| メソッド | 説明 |
|---|---|
| _KeyList(const typename Dict::Ptr&) | 指定された辞書を参照するコレクションを初期化します。 |
| Contains(const TKey&) const override | 指定されたキーがコレクションに存在するか確認します。 |
| idx_get(int) const override | 指定された位置のキーを取得します。 |
Typedefs
| 型定義 | 説明 |
|---|---|
| TKey | キーの種類です。 |
参照
- Class _KeyCollection
- Namespace System::Collections::Generic
- Library Aspose.Page for C++