TesseractTrainer.App_Code.Glyph.FindImage C# (CSharp) Метод

FindImage() публичный Метод

public FindImage ( string ImageID ) : int
ImageID string
Результат int
        public int FindImage(string ImageID)
        {
            int Index = -1;

            for (int x = 0; x < this.Images.Count; x++)
            {
                if (this.Images[x].ID == ImageID)
                {
                    Index = x;
                    break;
                }
            }

            return Index;
        }