MonoTouch.Dialog.RootElement.IndexOf C# (CSharp) Method

IndexOf() private method

private IndexOf ( Section target ) : int
target Section
return int
		internal int IndexOf (Section target)
		{
			int idx = 0;
			foreach (Section s in Sections){
				if (s == target)
					return idx;
				idx++;
			}
			return -1;
		}