SPQuery.AutoHyperlink property
取得或設定布林值,指定類似查詢所傳回的資料集內的超連結的文字會自動格式設定為超連結。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Property AutoHyperlink As Boolean
Get
Set
'用途
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如果類似超連結的文字會自動格式化為超連結。否則, false。
備註
如果AutoHyperlink屬性設定為true ,且傳回的資料集的主體包含如 https://Server_Name的 URL,URL 的格式為<a href='https://Server_Name'>https://Server_Name</a>。預設值是false。