---
title: "Class QueryableIdExtensions"
slug: "sdk--stylelabs.m.base.querying.linq.queryableidextensions"
abstract: ""
---
# Class QueryableIdExtensions

Extension method for [QueryableId](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.base.querying.linq.queryableid.html).

## Inheritance

object

QueryableIdExtensions

## Namespace: StylelabsStylelabs.MStylelabs.M.BaseQueryingLinq

## Assembly: Stylelabs.M.Sdk.dll

## Syntax

```csharp
public static class QueryableIdExtensions
```

## Methods

### In(QueryableId, IEnumerable<long>)

The id of an entity must be at least one of the specified `values`.

#### Declaration

```csharp
public static bool In(this QueryableId value, IEnumerable<long> values)
```

#### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [QueryableId](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.base.querying.linq.queryableid.html) | value | The value. |
| IEnumerable<>long | values | The values to filter on. |

#### Returns

| Type | Description |
| --- | --- |
| bool | true if the value is include in the collection, false otherwise. |

### In(QueryableId, params long\[\])

The id of an entity must be at least one of the specified `values`.

#### Declaration

```csharp
public static bool In(this QueryableId value, params long[] values)
```

#### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [QueryableId](https://doc.sitecore.com/ch/en/developers/api-reference/sdk--stylelabs.m.base.querying.linq.queryableid.html) | value | The value. |
| long | values | The values to filter on. |

#### Returns

| Type | Description |
| --- | --- |
| bool | true if the value is include in the collection, false otherwise. |
