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