SPQuery.AutoHyperlink Property

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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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.

Show: