<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: 15.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSPasteboardMetadataTypeContentType",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@NSPasteboardMetadataTypeContentType"
  },
  "title" : "NSPasteboardMetadataTypeContentType"
}
-->

# NSPasteboardMetadataTypeContentType

A metadata type that returns the content type if the pasteboard detects a reference to a file.

```
extern NSPasteboardMetadataType const NSPasteboardMetadataTypeContentType;
```

## Return Value

UTType value for the detected content type of the file URL, if a file URL type is present.

---

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)