コード例 #1
0
 /// <summary>
 /// Find the index of WptNeighbor by ident of a waypoint.
 /// Returns -1 if not found.
 /// </summary>
 public int FindById(string ident)
 {
     try
     {
         return(searchHelper.FindAny(ident));
     }
     catch (ArgumentException)
     {
         return(-1);
     }
 }