Export (0) Print
Expand All

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)

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:
© 2014 Microsoft