Share via


ViewSearchForm Class

The ViewSearchForm class inserts a view search form into the .aspx page.

System.Object

   System.Web.UI.Control

      Microsoft.SharePoint.WebControls.SPControl

         Microsoft.SharePoint.WebControls.ViewSearchForm

Public Constructors

The following table shows the public constructors of the ViewSearchForm class and a brief description of each.

Name Description
ViewSearchForm Initializes a new instance of the ViewSearchForm class.

Protected Methods

The following table shows the protected methods of the ViewSearchForm class and a brief description of each.

Name Description
Render Sends the content of the control to the specified HtmlTextWriter object, which writes the content that is rendered on the client.

Public Properties

The following table shows the public properties of the ViewSearchForm class, the data type of each property, and a brief description of each.

Name Data Type Description
Action String Gets or sets the target page in the LAYOUTS directory to which the search form is submitted.
Go String Gets or sets the title of the <A> tag that surrounds the go button on the search form, which is displayed in the tool tip for the button and which is used by screen readers for accessibility.
Prompt String Gets or sets the title of the <INPUT> tag on the search form, which is displayed in the tool tip for the input box and which is used by screen readers for accessibility.

Thread Safety

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

Requirements

Namespace: Microsoft.SharePoint.WebControls

Platforms: Microsoft Windows Server 2003

Assembly: Windows SharePoint Services (in Microsoft.SharePoint.dll)

Security: Code Access Security