Share via


SearchResultsBaseWebPart.ShouldRender Property

Gets or sets a Boolean value specifying whether the Web Part should render.

Namespace:  Microsoft.Office.Server.Search.WebControls
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Protected Property ShouldRender As Boolean
    Get
    Set
'Usage
Dim value As Boolean

value = Me.ShouldRender

Me.ShouldRender = value
protected bool ShouldRender { get; set; }

Property Value

Type: System.Boolean
true if the Web Part should render; otherwise, false.

See Also

Reference

SearchResultsBaseWebPart Class

SearchResultsBaseWebPart Members

Microsoft.Office.Server.Search.WebControls Namespace