バージョン

KeyedObjectCollectionBase クラス メソッド

このクラスのメンバの一覧は、KeyedObjectCollectionBaseメンバを参照してください。

パブリック メソッド
 名前解説
Public メソッドClearRemoves all objects from the System.Collections.CollectionBase instance. This method cannot be overridden. System.Collections.CollectionBaseから継承されます。
Public メソッドContains指定された項目がコレクションに含まれる場合は true を返します。  
Public メソッドCopyTo項目を配列にコピーします。  
Public メソッドExistsこのキーがあるオブジェクトがすでにコレクションである場合は True を返します。このエディターは項目のキーの入力を要求し、項目を作成する前にそのキーを検証します。  
Public メソッドGetEnumeratorReturns an enumerator that iterates through the System.Collections.CollectionBase instance. System.Collections.CollectionBaseから継承されます。
Public メソッドGetItemオーバーロードされます。 IServiceProvider  
Public メソッドIndexOfオーバーロードされます。 渡されたキーを持つコレクション内の項目のインデックスを返します。キーが見つからない場合は-1を返します。  
Public メソッドRemoveAtRemoves the element at the specified index of the System.Collections.CollectionBase instance. This method is not overridable. System.Collections.CollectionBaseから継承されます。
Public メソッドSetOwnerこのコレクションのオーナーを設定します。  
Public メソッドValidateKeyDoesNotExistオーバーロードされます。 キーが既に存在する場合、DuplicateNameExceptionをスローします。  
トップ
プロテクト メソッド
 名前解説
Protected メソッドCreateArray戻り値となる配列を作成するためにすべての「get」メソッドで使用される仮想メソッド。  
Protected メソッドInternalAddオブジェクトをコレクションに追加します。  
Protected メソッドInternalClearコレクションをクリアします。  
Protected メソッドInternalInsertオブジェクトをコレクションに挿入します。  
Protected メソッドInternalRemoveコレクションから項目を削除します。  
Protected メソッドInternalRemoveAtコレクションから項目を削除します。  
Protected メソッドOnClearPerforms additional custom processes when clearing the contents of the System.Collections.CollectionBase instance. System.Collections.CollectionBaseから継承されます。
Protected メソッドOnClearCompletePerforms additional custom processes after clearing the contents of the System.Collections.CollectionBase instance. System.Collections.CollectionBaseから継承されます。
Protected メソッドOnInsertPerforms additional custom processes before inserting a new element into the System.Collections.CollectionBase instance. System.Collections.CollectionBaseから継承されます。
Protected メソッドOnInsertCompletePerforms additional custom processes after inserting a new element into the System.Collections.CollectionBase instance. System.Collections.CollectionBaseから継承されます。
Protected メソッドOnRemovePerforms additional custom processes when removing an element from the System.Collections.CollectionBase instance. System.Collections.CollectionBaseから継承されます。
Protected メソッドOnRemoveCompletePerforms additional custom processes after removing an element from the System.Collections.CollectionBase instance. System.Collections.CollectionBaseから継承されます。
Protected メソッドOnSetPerforms additional custom processes before setting a value in the System.Collections.CollectionBase instance. System.Collections.CollectionBaseから継承されます。
Protected メソッドOnSetCompletePerforms additional custom processes after setting a value in the System.Collections.CollectionBase instance. System.Collections.CollectionBaseから継承されます。
Protected メソッドOnValidatePerforms additional custom processes when validating a value. System.Collections.CollectionBaseから継承されます。
トップ
参照