Share via


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.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
Protected Sub DetermineTemplateMode
'Usage

Me.DetermineTemplateMode()
protected void DetermineTemplateMode()

Remarks

The DetermineTemplateMode method sets the TemplateMode property.

See Also

Reference

SearchBox Class

SearchBox Members

Microsoft.SharePoint.Portal.WebControls Namespace