BExplorer.Shell.ShellView.GetFirstSelectedItemIndex C# (CSharp) Method

GetFirstSelectedItemIndex() public method

Returns the first selected item's index OR -1 if there is no selected item
public GetFirstSelectedItemIndex ( ) : Int32
return Int32
    public Int32 GetFirstSelectedItemIndex() {
      var lvi = this.ToLvItemIndex(-1);
      User32.SendMessage(this.LVHandle, LVM.GETNEXTITEMINDEX, ref lvi, LVNI.LVNI_SELECTED);
      return lvi.iItem;
    }
ShellView