📄 columnscollection.cs
字号:
using System;
namespace Microsoft.Crm.Sandbox.Mobile.Helpers.Collection
{
public class ColumnsCollection : System.Collections.CollectionBase
{
#region Properties
internal string this[int index]
{
get
{
return (string)List[index];
}
}
#endregion
#region Methods
internal void AddColumn(string attributeName)
{
if (!List.Contains(attributeName))
{
List.Add(attributeName);
}
}
internal string[] ToStringArray()
{
string[] returnArray = new string[List.Count];
for (int index = 0; index < returnArray.Length; index++)
{
returnArray[index] = (string)List[index];
}
return returnArray;
}
#endregion
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -