SIL.FieldWorks.IText.AddWordsToLexiconTests.SandboxForTests.GetComboItemHvo C# (CSharp) Method

GetComboItemHvo() private method

private GetComboItemHvo ( int flid, int morphIndex, string target ) : int
flid int
morphIndex int
target string
return int
			internal int GetComboItemHvo(int flid, int morphIndex, string target)
			{
				using (InterlinComboHandler handler = GetComboHandler(flid, morphIndex))
				{
					int index;
					object item = handler.GetComboItem(target, out index);
					if (item != null)
						return handler.Items[index];
				}
				return 0;
			}
		}