共用方式為


SearchResultsBaseDatasource.Query Property

Gets or sets the text for the search query.

Namespace:  Microsoft.Office.Server.Search.WebControls
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Property Query As String
    Get
    Set
'Usage
Dim instance As SearchResultsBaseDatasource
Dim value As String

value = instance.Query

instance.Query = value
public string Query { get; set; }

Property Value

Type: System.String
The string containing the query text.

See Also

Reference

SearchResultsBaseDatasource Class

SearchResultsBaseDatasource Members

Microsoft.Office.Server.Search.WebControls Namespace