groupitemcollection.cs

来自「使用C#语言开发的远程监控管理平台;使用soaphead对webservice进」· CS 代码 · 共 35 行

CS
35
字号
using System;
using System.Collections;
using System.Reflection;

namespace IssueVision
{
	// Collection of GroupItem objects.
	public class GroupItemCollection : CollectionBase
	{
		// Return the item at the specified index.
		public GroupItem this[int Index]
		{
			get
			{
				return (GroupItem)List[Index];
			}
		}

		// Adds elements to the list.
		public void AddRange(GroupItem[] Items)
		{
			foreach (GroupItem item in Items)
			{
				this.List.Add(item);
			}
		}

		// Add one element to the list.
		public void Add(GroupItem Item)
		{
			List.Add(Item);
		}
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?