How can I add a query option that isn't included in the parameters of the method? for example:
// Can't add "?$top=5" here or throws an exception
string rootUrl = "https://api.datamarket.azure.com/Bing/Search";
var bingContainer = new Bing.BingSearchContainer(new Uri(rootUrl));
// Configure the bingContainer to use your credentials.
bingContainer.Credentials = new NetworkCredential(AccountKey, AccountKey);
// The Web method takes: query, market, adult, latitude, longitude, web file type.
var webQuery = bingContainer.Web(query, null, null, null, null, null);
// tried this - doesn't help anything
// neither webQuery.Expression nor webQuery.RequestUri shows "$top"
// The query runs fine but isn't limted to 5 results
As the code comments show, I tried to add a $top - doesn't work. Even though I used AddQueryOption (which seems like a winner), it doesn't change anything, doesn't affect the expression or Uri. Any ideas?