📄 categoriescollection.cs
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -