ContentByQueryWebPart.Results property

Gets the SiteDataResults object that is returned by a query.

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

Syntax

'Declaration
<WebPartStorageAttribute(Storage.None)> _
<BrowsableAttribute(False)> _
Public Property Results As SiteDataResults
    Get
    Set
'Usage
Dim instance As ContentByQueryWebPart
Dim value As SiteDataResults

value = instance.Results

instance.Results = value
[WebPartStorageAttribute(Storage.None)]
[BrowsableAttribute(false)]
public SiteDataResults Results { get; set; }

Property value

Type: Microsoft.SharePoint.Publishing.SiteDataResults
Returns SiteDataResults.

Remarks

The property can also be set with an existing SiteDataResults object that the ContentByQueryWebPart object can use when it is output to a page.

See also

Reference

ContentByQueryWebPart class

ContentByQueryWebPart members

Microsoft.SharePoint.Publishing.WebControls namespace