Table of contents
TOC
Collapse the table of content
Expand the table of content

CAML.ViewQuery Method

SharePoint Dev Documents|Last Updated: 5/20/2017
|
1 Contributor

Root <View> and <Query> nodes.

Namespace:OfficeDevPnP.Core.Utilities
Assembly: OfficeDevPnP.Core.dll

Syntax

public static string ViewQuery(ViewScope scope, String whereClause = "", String orderByClause = "", String viewFields = "", Int32 rowLimit = 100)

Parameters

scope

  Type: Microsoft.SharePoint.Client.ViewScope
  View scope

(optional) whereClause

  Type: System.String
   node.

(optional) orderByClause

  Type: System.String
   node.

(optional) viewFields

  Type: System.String
   node.

(optional) rowLimit

  Type: System.Int32
   node.

Return Value

Type: string
String to be used in CAML queries

See also

© 2018 Microsoft