This project is read-only.

Scribd.Net.Search.Criteria class

Defines search parameters used to find documents on Scribd.

Properties

  • string Query : Search terms to find within document titles and content.
  • Scribd.Net.SearchScope Scope : Scope of the search.
  • int MaxResults : Maximum number of documents to return.
  • int StartIndex : Position within the results to begin from.
Usage Example

// Set up the search criteria
Scribd.Net.Search.Criteria mySearchCriteria = new Scribd.Net.Search.Criteria();
mySearchCriteria.Query = "America";
mySearchCriteria.Scope = Scribd.Net.SearchScope.All;
mySearchCriteria.MaxResults = 100;
mySearchCriteria.StartIndex = 1;

// Call the service.
Scribd.Net.Search.Result mySearchResult = Scribd.Net.Search.Find(mySearchCriteria);

// Iterate over documents returned by the service.
foreach(Scribd.Net.Document currentDocument in mySearchResult.Documents)
{
     Console.WriteLine(currentDocument.Title);
}


Release
  • Cannot resolve release macro, invalid id.
See Also

Last edited Mar 6, 2008 at 8:28 PM by JPaulDuncan, version 5

Comments

No comments yet.