SearchBox.DetermineTemplateMode Method
This class or member is deprecated. When you upgrade or write new applications that use this class or member, use the new class or member instead. For Enterprise Search in Microsoft Office SharePoint Server 2007, use the SearchBoxEx instead. Determines whether this Web Part is invoked in context-sensitive mode.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Protected Sub DetermineTemplateMode
'Usage
Me.DetermineTemplateMode()
protected void DetermineTemplateMode()
Remarks
The DetermineTemplateMode method sets the TemplateMode property.