Condividi tramite


RefinementWebPart.UseDefaultConfiguration Property

Gets or sets a value indicating whether to use the default filter category configuration and XSLT or use the custom one.

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

Syntax

'Declaration
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebBrowsableAttribute(True)> _
<ResourcesAttribute("RefinementPanel_ToolPart_Prop_UseDefaultConfig",  _
    "RefinementPanel_ToolPart_Cat_Refinement", "RefinementPanel_ToolPart_Tooltip_UseDefaultConfig")> _
Public Property UseDefaultConfiguration As Boolean
    Get
    Set
'Usage
Dim instance As RefinementWebPart
Dim value As Boolean

value = instance.UseDefaultConfiguration

instance.UseDefaultConfiguration = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(true)]
[ResourcesAttribute("RefinementPanel_ToolPart_Prop_UseDefaultConfig", 
    "RefinementPanel_ToolPart_Cat_Refinement", "RefinementPanel_ToolPart_Tooltip_UseDefaultConfig")]
public bool UseDefaultConfiguration { get; set; }

Property Value

Type: System.Boolean
true if the default filter category configuration will be used; otherwise; false.

See Also

Reference

RefinementWebPart Class

RefinementWebPart Members

Microsoft.Office.Server.Search.WebControls Namespace