Generates and renders <META> tags for search robots based on properties of the current
Posting.
Namespace: Microsoft.ContentManagement.WebControls
Assembly: Microsoft.ContentManagement.WebControls (in microsoft.contentmanagement.webcontrols.dll)

Syntax
Visual Basic (Declaration)
Public Class RobotMetaTag
Inherits Control
Dim instance As RobotMetaTag
public class RobotMetaTag : Control
public ref class RobotMetaTag : public Control
public class RobotMetaTag extends Control
public class RobotMetaTag extends Control

Remarks
This control reads the IsRobotFollowable and IsRobotIndexable properties from the current posting, and then generates and renders the appropriate <META> tag indicating to robots whether they should index the page or follow links on the page when crawling the site. This control must be added in between the <HEAD> tags of a template .aspx page in order for it to function properly.
The control by default renders a <BASE> tag with the href attribute set to the URL of the template file. This causes the browser to use the template file URL instead of the individual Posting friendly URL when resolving relative references. As a result, the template designer can refer to embedded images or script files or other items used in the template using URLs that are relative to the template file. The behavior can be disabled by setting the RenderBaseHref property to false.

Inheritance Hierarchy
System.Object
System.Web.UI.Control
Microsoft.ContentManagement.WebControls.RobotMetaTag

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

See Also