SearchBoxEx, classe (Microsoft.SharePoint.Portal.WebControls)
Implements the search box Web Part on the Microsoft Office SharePoint Server 2007 search page.
Espace de noms : Microsoft.SharePoint.Portal.WebControls
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)
Syntaxe
'Déclaration
<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
'Utilisation
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
Remarques
The SearchBoxEx control replaces the SearchBox control in Office SharePoint Server 2007.
Hiérarchie d'héritage
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
Sécurité des threads
Les membres statiques publics de ce type (Shared en Visual Basic) sont sécurisés au niveau des threads. Il n'est pas garanti que les membres d'instance soient sécurisés au niveau des threads.
Voir aussi
Référence
Membres SearchBoxEx
Microsoft.SharePoint.Portal.WebControls, espace de noms