public int GetPageNumber() { int rt = -1; object i = parent.indextag[tag]; if (i != null) { rt = (int)i; } return rt; }