---
title: "ColumnSelection.exclude(columnNames:)"
framework: createmlcomponents
role: symbol
role_heading: Case
path: "createmlcomponents/columnselection/exclude(columnnames:)"
---

# ColumnSelection.exclude(columnNames:)

Selects all columns except the specified columns.

## Declaration

```swift
case exclude(columnNames: [String])
```

## See Also

### Column selection types

- [ColumnSelection.all](createmlcomponents/columnselection/all.md)
- [ColumnSelection.include(columnNames:)](createmlcomponents/columnselection/include(columnnames:).md)
- [ColumnSelection.numeric](createmlcomponents/columnselection/numeric.md)
