Partager 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