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)

Syntax

'Declaration
Public Property AutoHyperlink As Boolean
    Get
    Set
'Usage
Dim instance As SPQuery
Dim value As Boolean

value = instance.AutoHyperlink

instance.AutoHyperlink = value
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.

Remarks

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

See also

Reference

SPQuery class

SPQuery members

Microsoft.SharePoint namespace