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
<BrowsableAttribute(False)> _
<WebPartStorageAttribute(Storage.None)> _
Public Property Results As SiteDataResults
Get
Set
'Usage
Dim instance As ContentByQueryWebPart
Dim value As SiteDataResults
value = instance.Results
instance.Results = value
[BrowsableAttribute(false)]
[WebPartStorageAttribute(Storage.None)]
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.