public string filter(int index) { IntPtr pStr = xlFilterColumnFilter(handle, index); if (pStr == (IntPtr)0) { throw new Exception(book.errorMessage()); } String s = Marshal.PtrToStringAuto(pStr); return(s); }
public string readStr(int row, int col) { IntPtr formatHandle = (IntPtr)0; string s = xlSheetReadStr(handle, row, col, ref formatHandle); if (s == null) { throw new Exception(book.errorMessage()); } return(s); }