I'm using SharePoint client object model and trying to query specific view but not getting the correct method to do so. Here is my code,
using SP = Microsoft.SharePoint.Client;
using (SP.ClientContext _clientcontext = new SP.ClientContext(_context))
{
SP.List list = _clientcontext.Web.Lists.GetByTitle("RDSImport");
SP.View view = list.GetView(new Guid("09F8BD32-8D23-4469-8DC5-D358465196F5"));
// here is my query which should return all docs from the view
CamlQuery camlQuery = new CamlQuery();
camlQuery.ViewXml = "<View/>";
//Now how do apply caml to a view because there is no Getitems() method for view
//and Client object model seems doesn't support second parameter as "GUID" in
//Getitems() method
//Tried passing following in ViewXml but still not working
//<View Name="{BDE39CB1-536C-48FB-B3A7-A457833B9196}" DefaultView="TRUE"
//Type="HTML" DisplayName="RDSImport">
//</View>
}