Share via


KeywordQueryProperties.SimilarTo property

Gets or sets the similarity reference when performing a find similar query.

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

Syntax

'Declaration
<DataMemberAttribute> _
Public Property SimilarTo As String
    Get
    Set
'Usage
Dim instance As KeywordQueryProperties
Dim value As String

value = instance.SimilarTo

instance.SimilarTo = value
[DataMemberAttribute]
public string SimilarTo { get; set; }

Property value

Type: System.String
The value of the docvector managed property of the item to be used as the similarity reference.

See also

Reference

KeywordQueryProperties class

KeywordQueryProperties members

Microsoft.Office.Server.Search.Query namespace