SearchResultsBaseToolPart.CreateToolPartToggleSwitch Method

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

Syntax

'Declaration
Protected Shared Function CreateToolPartToggleSwitch ( _
    toolPart As Control, _
    expandToolTip As String, _
    collapseToolTip As String, _
    displayText As String, _
    id As String, _
    helpTopic As String _
) As HtmlGenericControl
'Usage
Dim toolPart As Control
Dim expandToolTip As String
Dim collapseToolTip As String
Dim displayText As String
Dim id As String
Dim helpTopic As String
Dim returnValue As HtmlGenericControl

returnValue = SearchResultsBaseToolPart.CreateToolPartToggleSwitch(toolPart, _
    expandToolTip, collapseToolTip, _
    displayText, id, helpTopic)
protected static HtmlGenericControl CreateToolPartToggleSwitch(
    Control toolPart,
    string expandToolTip,
    string collapseToolTip,
    string displayText,
    string id,
    string helpTopic
)

Parameters

Return Value

Type: System.Web.UI.HtmlControls.HtmlGenericControl
Returns HtmlGenericControl.

See Also

Reference

SearchResultsBaseToolPart Class

SearchResultsBaseToolPart Members

Microsoft.Office.Server.Search.WebControls Namespace