Beispiel #1
0
 public static bool ReplaceWith(InvokeListCursorDirection selection)
 {
     if (selection == InvokeListCursorDirection.Unspecified)
     {
         throw new ArgumentException("Selection cannot be \"Unspecified\"", "selection");
     }
     else if (!selection.IsValidValue())
     {
         throw new ArgumentException("Unsupported selection value", "selection");
     }
     Util.GetBPSOrException();
     return navigator_invoke_select_list_item(selection) == BPS.BPS_SUCCESS;
 }
Beispiel #2
0
 public static bool ReplaceWith(InvokeListCursorDirection selection)
 {
     if (selection == InvokeListCursorDirection.Unspecified)
     {
         throw new ArgumentException("Selection cannot be \"Unspecified\"", "selection");
     }
     else if (!selection.IsValidValue())
     {
         throw new ArgumentException("Unsupported selection value", "selection");
     }
     Util.GetBPSOrException();
     return(navigator_invoke_select_list_item(selection) == BPS.BPS_SUCCESS);
 }
Beispiel #3
0
 private static extern int navigator_invoke_select_list_item(InvokeListCursorDirection selection);
Beispiel #4
0
 private static extern int navigator_invoke_select_list_item(InvokeListCursorDirection selection);