Share via


QueryProperties class

NOTE: This API is now obsolete.

Represents the properties for a search query.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Search.Query.QueryProperties
    Microsoft.SharePoint.Search.Query.KeywordQueryProperties

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

Syntax

'Declaration
<KnownTypeAttribute("GetQueryPropertiesKnownTypes")> _
<ObsoleteAttribute("This class is obsolete.")> _
<DataContractAttribute(Namespace := "https://www.microsoft.com/sharepoint/search/KnownTypes/2008/08")> _
Public MustInherit Class QueryProperties _
    Implements IPropertyCollection, IReadOnlyPropertyCollection, IEnumerable(Of KeyValuePair(Of String, Object)),  _
    IEnumerable, ICloneable
'Usage
Dim instance As QueryProperties
[KnownTypeAttribute("GetQueryPropertiesKnownTypes")]
[ObsoleteAttribute("This class is obsolete.")]
[DataContractAttribute(Namespace = "https://www.microsoft.com/sharepoint/search/KnownTypes/2008/08")]
public abstract class QueryProperties : IPropertyCollection, 
    IReadOnlyPropertyCollection, IEnumerable<KeyValuePair<string, Object>>, IEnumerable, 
    ICloneable

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

QueryProperties members

Microsoft.SharePoint.Search.Query namespace