Share via


ViewSearchForm.Action property

Gets or sets the target page in the LAYOUTS directory to which the search form is submitted.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property Action As String
    Get
    Set
'Usage
Dim instance As ViewSearchForm
Dim value As String

value = instance.Action

instance.Action = value
public string Action { get; set; }

Property value

Type: System.String
A string that contains the file name of the target page in the LAYOUTS directory.

See also

Reference

ViewSearchForm class

ViewSearchForm members

Microsoft.SharePoint.WebControls namespace