System.Collections.Generic.IList.cs

ylbtech-System.Collections.Generic.IList.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.Reflection;
using System.Runtime.CompilerServices;

namespace System.Collections.Generic
{
    //
    // 摘要:
    //     表示可按照索引单独访问的一组对象。
    //
    // 类型参数:
    //   T:
    //     列表中元素的类型。
    [DefaultMember("Item")]
    [TypeDependencyAttribute("System.SZArrayHelper")]
    public interface IList<T> : ICollection<T>, IEnumerable<T>, IEnumerable
    {
        //
        // 摘要:
        //     获取或设置位于指定索引处的元素。
        //
        // 参数:
        //   index:
        //     要获得或设置的元素从零开始的索引。
        //
        // 返回结果:
        //     位于指定索引处的元素。
        //
        // 异常:
        //   T:System.ArgumentOutOfRangeException:
        //     index 不是 System.Collections.Generic.IList`1 中的有效索引。
        //
        //   T:System.NotSupportedException:
        //     设置该属性,而且 System.Collections.Generic.IList`1 为只读。
        T this[int index] { get; set; }

        //
        // 摘要:
        //     确定 System.Collections.Generic.IList`1 中特定项的索引。
        //
        // 参数:
        //   item:
        //     要在 System.Collections.Generic.IList`1 中定位的对象。
        //
        // 返回结果:
        //     如果在列表中找到,则为 item 的索引;否则为 -1。
        int IndexOf(T item);
        //
        // 摘要:
        //     将一个项插入指定索引处的 System.Collections.Generic.IList`1。
        //
        // 参数:
        //   index:
        //     从零开始的索引,应在该位置插入 item。
        //
        //   item:
        //     要插入到 System.Collections.Generic.IList`1 中的对象。
        //
        // 异常:
        //   T:System.ArgumentOutOfRangeException:
        //     index 不是 System.Collections.Generic.IList`1 中的有效索引。
        //
        //   T:System.NotSupportedException:
        //     System.Collections.Generic.IList`1 为只读。
        void Insert(int index, T item);
        //
        // 摘要:
        //     移除指定索引处的 System.Collections.Generic.IList`1 项。
        //
        // 参数:
        //   index:
        //     要移除的项的从零开始的索引。
        //
        // 异常:
        //   T:System.ArgumentOutOfRangeException:
        //     index 不是 System.Collections.Generic.IList`1 中的有效索引。
        //
        //   T:System.NotSupportedException:
        //     System.Collections.Generic.IList`1 为只读。
        void RemoveAt(int index);
    }
}
2、
2.返回顶部
 
3.返回顶部
 
4.返回顶部
 
5.返回顶部
 
 
6.返回顶部
 
warn 作者:ylbtech
出处:http://ylbtech.cnblogs.com/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。
原文地址:https://www.cnblogs.com/storebook/p/12638845.html