Share via


SearchBox class

This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead. For Enterprise Search in Microsoft Office SharePoint Server 2007, use the SearchBoxEx instead. Implements the search box Web Part on the Microsoft Office SharePoint Portal Server 2003 search page.

Inheritance hierarchy

System.Object
  System.Web.UI.Control
    System.Web.UI.WebControls.WebControl
      System.Web.UI.WebControls.Panel
        System.Web.UI.WebControls.WebParts.Part
          System.Web.UI.WebControls.WebParts.WebPart
            Microsoft.SharePoint.WebPartPages.WebPart
              WebPartLoc
                CacheableWebPart
                  Microsoft.SharePoint.Portal.WebControls.SearchBox

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

Syntax

'Declaration
Public Class SearchBox _
    Inherits CacheableWebPart
'Usage
Dim instance As SearchBox
public class SearchBox : CacheableWebPart

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

SearchBox members

Microsoft.SharePoint.Portal.WebControls namespace