zoukankan      html  css  js  c++  java
  • System.Collections.Generic.ICollection.cs

    ylbtech-System.Collections.Generic.ICollection.cs
    1.返回顶部
    1、
    #region 程序集 mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    // C:Program Files (x86)Reference AssembliesMicrosoftFramework.NETFrameworkv4.5mscorlib.dll
    #endregion
    
    using System.Runtime.CompilerServices;
    
    namespace System.Collections.Generic
    {
        //
        // 摘要:
        //     定义操作泛型集合的方法。
        //
        // 类型参数:
        //   T:
        //     集合中元素的类型。
        [TypeDependencyAttribute("System.SZArrayHelper")]
        public interface ICollection<T> : IEnumerable<T>, IEnumerable
        {
            //
            // 摘要:
            //     获取 System.Collections.Generic.ICollection`1 中包含的元素数。
            //
            // 返回结果:
            //     System.Collections.Generic.ICollection`1 中包含的元素个数。
            int Count { get; }
            //
            // 摘要:
            //     获取一个值,该值指示 System.Collections.Generic.ICollection`1 是否为只读。
            //
            // 返回结果:
            //     如果 System.Collections.Generic.ICollection`1 为只读,则为 true;否则为 false。
            bool IsReadOnly { get; }
    
            //
            // 摘要:
            //     将某项添加到 System.Collections.Generic.ICollection`1 中。
            //
            // 参数:
            //   item:
            //     要添加到 System.Collections.Generic.ICollection`1 的对象。
            //
            // 异常:
            //   T:System.NotSupportedException:
            //     System.Collections.Generic.ICollection`1 为只读。
            void Add(T item);
            //
            // 摘要:
            //     从 System.Collections.Generic.ICollection`1 中移除所有项。
            //
            // 异常:
            //   T:System.NotSupportedException:
            //     System.Collections.Generic.ICollection`1 为只读。
            void Clear();
            //
            // 摘要:
            //     确定 System.Collections.Generic.ICollection`1 是否包含特定值。
            //
            // 参数:
            //   item:
            //     要在 System.Collections.Generic.ICollection`1 中定位的对象。
            //
            // 返回结果:
            //     如果在 System.Collections.Generic.ICollection`1 中找到 item,则为 true;否则为 false。
            bool Contains(T item);
            //
            // 摘要:
            //     从特定的 System.Array 索引开始,将 System.Collections.Generic.ICollection`1 的元素复制到一个 System.Array
            //     中。
            //
            // 参数:
            //   array:
            //     作为从 System.Collections.Generic.ICollection`1 复制的元素的目标的一维 System.Array。 System.Array
            //     必须具有从零开始的索引。
            //
            //   arrayIndex:
            //     array 中从零开始的索引,从此索引处开始进行复制。
            //
            // 异常:
            //   T:System.ArgumentNullException:
            //     array 为 null。
            //
            //   T:System.ArgumentOutOfRangeException:
            //     arrayIndex 小于 0。
            //
            //   T:System.ArgumentException:
            //     源 System.Collections.Generic.ICollection`1 中的元素数目大于从 arrayIndex 到目标 array 末尾之间的可用空间。
            void CopyTo(T[] array, int arrayIndex);
            //
            // 摘要:
            //     从 System.Collections.Generic.ICollection`1 中移除特定对象的第一个匹配项。
            //
            // 参数:
            //   item:
            //     要从 System.Collections.Generic.ICollection`1 中移除的对象。
            //
            // 返回结果:
            //     如果已从 System.Collections.Generic.ICollection`1 中成功移除 item,则为 true;否则为 false。 如果在原始
            //     System.Collections.Generic.ICollection`1 中没有找到 item,该方法也会返回 false。
            //
            // 异常:
            //   T:System.NotSupportedException:
            //     System.Collections.Generic.ICollection`1 为只读。
            bool Remove(T item);
        }
    }
    2、
    2.返回顶部
     
    3.返回顶部
     
    4.返回顶部
     
    5.返回顶部
     
     
    6.返回顶部
     
    warn 作者:ylbtech
    出处:http://ylbtech.cnblogs.com/
    本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。
  • 相关阅读:
    v-for
    class样式绑定
    数据单向绑定(v-bind:)和数据的双向绑定(v-model)
    v-on 事件修饰符
    C++中相对路径与绝对路径以及斜杠与反斜杠的区别(转)
    计算机图形学—判断点在直线上的方法(转)
    Eclipse XML/HTML语法高亮方法
    虚拟机 ubuntu 上网的配置过程
    VirtualBox虚拟机网络设置(四种方式)(转)
    查看Linux服务器网络状态(转)
  • 原文地址:https://www.cnblogs.com/storebook/p/12638838.html
Copyright © 2011-2022 走看看