Skip to content

Commit

Permalink
Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberblast committed Nov 29, 2017
1 parent 2ba6f0c commit 07aea2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion NuGet/cyberblast.SharePoint.Client.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<iconUrl>https://avatars2.githubusercontent.com/u/33760031?s=64</iconUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<description>Adapter Library to communicate with SharePoint 2013. CSOM wrapper: will install CSOM NuGet Package as well.</description>
<releaseNotes></releaseNotes>
<releaseNotes>File Download</releaseNotes>
<copyright>Copyright 2017</copyright>
<tags>SharePoint 15 2013 Client Adapter Library CSOM</tags>
<dependencies>
Expand Down
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,17 +64,14 @@ using cyberblast.SharePoint.Client.Authentication;
using Microsoft.SharePoint.Client;
namespace ConsoleApp1 {
class Program {
const int ROW_LIMIT = 100;
static void Main(string[] args) {

ISPClient client = new SPClient("http://yourSharePointUrl");

var filter = QueryBuilder.Equals(
new QueryBuilder.Field("Id"),
new QueryBuilder.Value(7, FieldType.Number));
// ROW_LIMIT defines buffer amount of items to get per internal call.
// The iterator will always iterate ALL items.
var query = QueryBuilder.Query(filter, ROW_LIMIT);
var query = QueryBuilder.Query(filter);

// C#7 Syntax. But any fitting delegate will do...
void Callback(ListItem item) {
Expand Down

0 comments on commit 07aea2c

Please sign in to comment.