Dictionary.KeyCollection.System.Collections.Generic.ICollection.Remove メソッド 
アセンブリ: mscorlib (mscorlib.dll 内)
 構文
構文Private Function System.Collections.Generic.ICollection<TKey>.Remove ( _ item As TKey _ ) As Boolean Implements ICollection(Of TKey).Remove
Dim instance As KeyCollection Dim item As TKey Dim returnValue As Boolean returnValue = CType(instance, ICollection(Of TKey)).Remove(item)
private: virtual bool System.Collections.Generic.ICollection<TKey>.Remove ( TKey item ) sealed = ICollection<TKey>::Remove
戻り値
item が ICollection から正常に削除された場合は true。それ以外の場合は false。このメソッドは、item が元の ICollection に見つからなかった場合にも false を返します。
 例外
例外 解説
解説オブジェクトが等しいかどうかを判断する方法で実装が異なります。たとえば、List では Comparer.Default が使用されます。また、Dictionary では、IComparer 実装をキーの比較に使うかどうかをユーザーが指定できます。
 プラットフォーム
プラットフォームWindows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
 バージョン情報
バージョン情報 参照
参照Dictionary.KeyCollection ジェネリック クラス
Dictionary.KeyCollection メンバ
System.Collections.Generic 名前空間
IsReadOnly
- Dictionary.KeyCollection.System.Collections.Generic.ICollection<TKey>.Remove メソッドのページへのリンク

 
                             
                    


