Share via


ContentByQueryWebPart.CurrentQueryScope Method

Returns the current query scope of this [T:Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPartobject.]

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

Syntax

'Declaration
Public Function CurrentQueryScope As ContentByQueryWebPart.QueryScope
'Usage
Dim instance As ContentByQueryWebPart
Dim returnValue As ContentByQueryWebPart.QueryScope

returnValue = instance.CurrentQueryScope()
public ContentByQueryWebPart.QueryScope CurrentQueryScope()

Return Value

Type: Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.QueryScope

See Also

Reference

ContentByQueryWebPart Class

ContentByQueryWebPart Members

Microsoft.SharePoint.Publishing.WebControls Namespace

ContentByQueryWebPart