ContentByQueryWebPart.SystemViewFields property

Gets or sets the SystemViewFields for the query.

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

Syntax

'Declaration
<WebBrowsableAttribute(False)> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
Public Property SystemViewFields As String
    Get
    Set
'Usage
Dim instance As ContentByQueryWebPart
Dim value As String

value = instance.SystemViewFields

instance.SystemViewFields = value
[WebBrowsableAttribute(false)]
[PersonalizableAttribute(PersonalizationScope.Shared)]
public string SystemViewFields { get; set; }

Property value

Type: System.String

Remarks

These are additional fields that can be requested when retrieving data. The fields can be either "internalName" or "GUID", and they are separated by semicolons. You can specify the field types using a comma after the "internalName" or the "GUID" of the field.

Examples

"Title,Text;ID,Counter;Editor,User"

See also

Reference

ContentByQueryWebPart class

ContentByQueryWebPart members

Microsoft.SharePoint.Publishing.WebControls namespace

ContentByQueryWebPart