---
title: "excluding(_:)"
framework: mapkit
role: symbol
role_heading: Type Method
path: "mapkit/pointofinterestcategories/excluding(_:)-4jo9h"
---

# excluding(_:)

Show all points of interest except those belonging to certain categories using the list you provide.

## Declaration

```swift
static func excluding(_ categories: MKPointOfInterestCategory...) -> PointOfInterestCategories
```

## Parameters

- `categories`: The points of interest categories to exclude.

## Return Value

Return Value Returns a set of point of interest categories to exclude.

## See Also

### Modifying the categories to include or exclude

- [excluding(_:)](mapkit/pointofinterestcategories/excluding(_:)-16bp0.md)
- [including(_:)](mapkit/pointofinterestcategories/including(_:)-22f7x.md)
- [including(_:)](mapkit/pointofinterestcategories/including(_:)-6flda.md)
