SearchBoxEx クラス (Microsoft.SharePoint.Portal.WebControls)

検索ボックス Web パーツを Microsoft Office SharePoint Server 2007 の検索ページに実装します。

名前空間: Microsoft.SharePoint.Portal.WebControls
アセンブリ: Microsoft.SharePoint.Portal (microsoft.sharepoint.portal.dll 内)

構文

'宣言
<XmlRootAttribute(Namespace:="urn:schemas-microsoft-com:SearchBoxEx")> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level:=AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel:=True)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level:=AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel:=True)> _
Public Class SearchBoxEx
    Inherits WebPartLoc
    Implements IDesignTimeHtmlProvider, INamingContainer
'使用
Dim instance As SearchBoxEx
[XmlRootAttribute(Namespace="urn:schemas-microsoft-com:SearchBoxEx")] 
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] 
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel=true)] 
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] 
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel=true)] 
public class SearchBoxEx : WebPartLoc, IDesignTimeHtmlProvider, INamingContainer

備考

SearchBoxEx コントロールは、Office SharePoint Server 2007 の SearchBox コントロールを置き換えるものです。

継承階層

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
               Microsoft.SharePoint.Portal.WebControls.WebPartLoc
                Microsoft.SharePoint.Portal.WebControls.SearchBoxEx
                   Microsoft.SharePoint.Portal.WebControls.PeopleSearchBoxEx
                   Microsoft.SharePoint.Portal.WebControls.RightBodySectionSearchBox

スレッドの安全性

この型のパブリックで静的な (Visual Basic では Shared) すべてのメンバは、スレッド セーフです。インスタンス メンバは、スレッド セーフであるとは保証されません。

関連項目

参照

SearchBoxEx メンバ
Microsoft.SharePoint.Portal.WebControls 名前空間