<!--
{
  "availability" : [
    "macOS: 10.12.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSPasteboard/ContentsOptions",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@E@NSPasteboardContentsOptions"
  },
  "title" : "NSPasteboard.ContentsOptions"
}
-->

# NSPasteboard.ContentsOptions

Options for preparing the pasteboard.

```
struct ContentsOptions
```

## Topics

### Options

[`NSPasteboardContentsCurrentHostOnly`](/documentation/AppKit/NSPasteboard/ContentsOptions/currentHostOnly)

The pasteboard contents are available only on the current device, and not on any other devices.

### Initializers

[`init(rawValue:)`](/documentation/AppKit/NSPasteboard/ContentsOptions/init(rawValue:))

## Relationships

### Conforms To

[`ExpressibleByArrayLiteral`](/documentation/Swift/ExpressibleByArrayLiteral)

[`SetAlgebra`](/documentation/Swift/SetAlgebra)

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

[`OptionSet`](/documentation/Swift/OptionSet)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)