CrossListQueryInfo.ShowUntargetedItems property

Specifies whether to show items that are not targeted.

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

Syntax

'Declaration
Public Property ShowUntargetedItems As Boolean
    Get
    Set
'Usage
Dim instance As CrossListQueryInfo
Dim value As Boolean

value = instance.ShowUntargetedItems

instance.ShowUntargetedItems = value
public bool ShowUntargetedItems { get; set; }

Property value

Type: System.Boolean

Remarks

You can use this property to apply audience targeting.

See also

Reference

CrossListQueryInfo class

CrossListQueryInfo members

Microsoft.SharePoint.Publishing namespace

CrossListQueryInfo

Lists

Query

RowLimit

UseCache

ViewFields

Webs

WebUrl