Share via


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