---
title: "Class PropertyQueryFilter"
slug: "sdk--stylelabs.m.base.querying.filters.propertyqueryfilter"
abstract: ""
---
# Class PropertyQueryFilter

Filters on entities with a property set to value(s).

## Inheritance

object

[QueryFilter](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.base.querying.filters.queryfilter.html)

PropertyQueryFilter

## Namespace: StylelabsStylelabs.MStylelabs.M.BaseQueryingFilters

## Assembly: Stylelabs.M.Sdk.dll

## Syntax

```csharp
public class PropertyQueryFilter : QueryFilter
```

## Properties

### Culture

Gets or sets the culture to filter in, in case of multi-language properties.

#### Declaration

```csharp
public CultureInfo Culture { get; set; }
```

#### Property Value

| Type | Description |
| --- | --- |
| CultureInfo |  |

### DataType

Gets or sets the data-type of the property.

#### Declaration

```csharp
public virtual FilterDataType DataType { get; set; }
```

#### Property Value

| Type | Description |
| --- | --- |
| [FilterDataType](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.base.querying.filters.filterdatatype.html) |  |

### Operator

Gets or sets the operator used to compare the property-value(s).

#### Declaration

```csharp
public ComparisonOperator Operator { get; set; }
```

#### Property Value

| Type | Description |
| --- | --- |
| [ComparisonOperator](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.base.querying.filters.comparisonoperator.html) |  |

### Property

Gets or sets the name of the property to filter on.

#### Declaration

```csharp
public string Property { get; set; }
```

#### Property Value

| Type | Description |
| --- | --- |
| string |  |

### Type

Gets the type of the filter.

#### Declaration

```csharp
public override FilterType Type { get; }
```

#### Property Value

| Type | Description |
| --- | --- |
| [FilterType](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.base.querying.filters.filtertype.html) |  |

#### Overrides

[QueryFilter.Type](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.base.querying.filters.queryfilter.html)

### Value

Gets or sets the value to compare with.

#### Declaration

```csharp
public object Value { get; set; }
```

#### Property Value

| Type | Description |
| --- | --- |
| object |  |

### Values

Gets or sets the values to compare with. If multiple values are specified, the filter will combine them using "OR" (essentially an IN-clause).

#### Declaration

```csharp
public IEnumerable<object> Values { get; set; }
```

#### Property Value

| Type | Description |
| --- | --- |
| IEnumerable<>object |  |

## Methods

### Accept(IFilterVisitor)

Accepts a query visitor.

#### Declaration

```csharp
public override void Accept(IFilterVisitor visitor)
```

#### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [IFilterVisitor](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.base.querying.filters.ifiltervisitor.html) | visitor | The visitor to accept. |

#### Overrides

[QueryFilter.Accept(IFilterVisitor)](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.base.querying.filters.queryfilter.html)
