SearchBox 类

此类或成员已被弃用。更新或编写使用此类或此成员的新应用程序时,请改用新的类或成员。对于Microsoft Office SharePoint Server 2007 中的企业级搜索,而是使用SearchBoxEx 。实现 Microsoft Office SharePoint Portal Server 2003 搜索页上的搜索框 Web 部件。

继承层次结构

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

命名空间:  Microsoft.SharePoint.Portal.WebControls
程序集:  Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)

语法

声明
Public Class SearchBox _
    Inherits CacheableWebPart
用法
Dim instance As SearchBox
public class SearchBox : CacheableWebPart

线程安全性

该类型的任何公共 静态 (已共享 在 Visual Basic 中) 成员都是线程安全的。不保证任何实例成员都是线程安全的。

另请参阅

引用

SearchBox 成员

Microsoft.SharePoint.Portal.WebControls 命名空间