Share via


KeywordQuery.SearchTerms property

NOTE: This API is now obsolete.

Gets the terms used for the search query.

Namespace:  Microsoft.SharePoint.Search.Query
Assembly:  Microsoft.SharePoint.Search (in Microsoft.SharePoint.Search.dll)

Syntax

'Declaration
<ObsoleteAttribute("This class is obsolete.")> _
Public ReadOnly Property SearchTerms As String
    Get
'Usage
Dim instance As KeywordQuery
Dim value As String

value = instance.SearchTerms
[ObsoleteAttribute("This class is obsolete.")]
public string SearchTerms { get; }

Property value

Type: System.String
A string containing the search terms.

See also

Reference

KeywordQuery class

KeywordQuery members

Microsoft.SharePoint.Search.Query namespace