SearchBoxEx 类 (Microsoft.SharePoint.Portal.WebControls)
Implements the search box Web Part on the Microsoft Office SharePoint Server 2007 search page.
命名空间: 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
备注
The SearchBoxEx control replaces the SearchBox control in Office SharePoint Server 2007.
继承层次结构
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 中共享)成员是线程安全的。不保证任何实例成员都是线程安全的。