다음을 통해 공유


ContentByQueryWebPart.ShowUntargetedItems Property

Whether to show items that have no audiences associated with them.

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

Syntax

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

value = instance.ShowUntargetedItems

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

Property Value

Type: System.Boolean

Remarks

This property only applies if audience targeting is enabled.

See Also

Reference

ContentByQueryWebPart Class

ContentByQueryWebPart Members

Microsoft.SharePoint.Publishing.WebControls Namespace

ContentByQueryWebPart