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

CAML.FieldValue Method

SharePoint Dev Documents|Last Updated: 6/22/2017
|
1 Contributor

Creates both a <FieldRef> and <Value> nodes combination for Where clauses.

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

Syntax

public static string FieldValue(String fieldName, String fieldValueType, String value, String additionalFieldRefParams = "")

Parameters

fieldName

  Type: System.String
  Name of the field

fieldValueType

  Type: System.String
  Value type of the field

value

  Type: System.String
  Value of the field

(optional) additionalFieldRefParams

  Type: System.String
  Additional FieldRef Parameters

Return Value

Type: string
Returns FieldValue string to be used in CAML queries

See also

© 2018 Microsoft