Google电子表格查询返回空单元格

bob*_*007 2 c# google-api google-docs

我试图在Google API for C#.NET中将return-empty设置为true所以我可以从我的C#app写入空单元格.无法弄清楚如何将Google.GData.Spreadsheets.ReturnEmtpyCells设置为true.在C#中.

有人可以提供我在我的查询中将此参数设置为"true"的语法吗?

花了几个小时寻找和试验没有成功.业余爱好的程序员.

关键字:Google电子表格.NET API返回空返回空返回C#"C sharp"

谢谢.

Cla*_*ino 5

试试这个:

CellQuery query = new CellQuery("your query");
query.ReturnEmpty = ReturnEmtpyCells.yes;
Run Code Online (Sandbox Code Playgroud)

请注意,ReturnEmtpyCells中的拼写错误很快就会修复.