categoriescollection.cs
来自「简单的cI真的是很简单 你想要就下载吧」· CS 代码 · 共 51 行
CS
51 行
using System;
using System.Collections;
using System.Linq;
using System.Text;
namespace VinciDataAccess.Entity
{
/// <summary>
/// Name:Wicresoft's Vinci Item
/// Author:Owen Liu
/// Time:2008.2.20
public class CategoriesCollection : CollectionBase
{
public CategoriesEntity this[int nIndex]
{
get { return (CategoriesEntity)List[nIndex]; }
set { List[nIndex] = value; }
}
public int Add(CategoriesEntity categoriesInfo)
{
return (List.Add(categoriesInfo));
}
public int IndexOf(CategoriesEntity categoriesInfo)
{
return (List.IndexOf(categoriesInfo));
}
public void Insert(int nIndex, CategoriesEntity categoriesInfo)
{
List.Insert(nIndex, categoriesInfo);
}
public void Remove(CategoriesEntity categoriesInfo)
{
List.Remove(categoriesInfo);
}
public bool Contains(CategoriesEntity categoriesInfo)
{
return (List.Contains(categoriesInfo));
}
public void CopyTo(CategoriesEntity[] categoriesInfo, int nIndex)
{
List.CopyTo(categoriesInfo, nIndex);
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?