AutoHyperlink Property
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

SPQuery.AutoHyperlink Property

Windows SharePoint Services 3

Gets or sets a Boolean value that specifies whether text that resembles a hyperlink within the data set returned by the query is automatically formatted as a hyperlink.

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

public bool AutoHyperlink { get; set; }

Property Value

Type: System.Boolean
true if text that resembles a hyperlink is automatically formatted as a hyperlink; otherwise, false.

If the AutoHyperlink property is set to true and the body of the returned data set contains a URL such as http://Server_Name, the URL is formatted as <a href='http://Server_Name'>http://Server_Name</a>. The default value is false.

© 2016 Microsoft