SPUtility.IsSearchRequest method
會決定是否要求來自 SharePoint 搜尋。
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Shared Function IsSearchRequest ( _
request As HttpRequest _
) As Boolean
'用途
Dim request As HttpRequest
Dim returnValue As Boolean
returnValue = SPUtility.IsSearchRequest(request)
public static bool IsSearchRequest(
HttpRequest request
)
參數
- request
Type: System.Web.HttpRequest
傳回值
Type: System.Boolean