filterexpressionhelpercollection.cs

来自「CRM的移动平台代码」· CS 代码 · 共 38 行

CS
38
字号
using System;
using Microsoft.Crm.Sandbox.Mobile.CrmServiceSdk;
using Microsoft.Crm.Sandbox.Mobile.Helpers;

namespace Microsoft.Crm.Sandbox.Mobile.Helpers.Collection
{
	public class FilterExpressionHelperCollection : System.Collections.CollectionBase
	{
		#region Properties

		/// <summary>
		/// Provides access to the underlying collection of FilterExpressionHelpers
		/// </summary>
		public FilterExpressionHelper this[int index]
		{
			get
			{
				return (FilterExpressionHelper)List[index];
			}
		}

		#endregion

		#region Methods

		/// <summary>
		/// Used to add a child filter to the current/parent filter
		/// </summary>
		/// <param name="childFilter">A FilterExpressionHelper object that will be added as a child filter to the main filter</param>
		public void AddFilter(FilterExpressionHelper childFilter)
		{
			List.Add(childFilter);
		}

		#endregion
	}
}

⌨️ 快捷键说明

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