CrossListQueryInfo.ViewFields property

Sets the Collaborative Application Markup Language (CAML)ViewFields attribute.

Namespace:  Microsoft.SharePoint.Publishing
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Public Property ViewFields As String
    Get
    Set
'Usage
Dim instance As CrossListQueryInfo
Dim value As String

value = instance.ViewFields

instance.ViewFields = value
public string ViewFields { get; set; }

Property value

Type: System.String

See also

Reference

CrossListQueryInfo class

CrossListQueryInfo members

Microsoft.SharePoint.Publishing namespace

CrossListQueryInfo

Lists

Query

RowLimit

ShowUntargetedItems

UseCache

Webs

WebUrl