Global Variable

NSFileContentsPboardType

A representation of a file’s contents.

Declaration

NSPasteboardType NSFileContentsPboardType;

Discussion

The file contents pboard type allowed you to synthesize a pboard type for a file's contents based on the file's extension.

In macOS 10.6 and later, you should use the UTI of a file to represent its contents instead.

See Also

Pasteboard Types

NSPasteboardTypeURL

URL data for one file or resource.

NSFindPanelSearchOptionsPboardType

Type for the find panel metadata property list.

NSPasteboardTypeFont

Font and character information.

NSPasteboardTypeHTML

Type for HTML content.

NSPasteboardTypePNG

PNG image data.

NSPasteboardTypeRTF

Rich Text Format (RTF) data.

NSPasteboardTypeRTFD

RTFD formatted file contents.

NSPasteboardTypeRuler

Paragraph formatting information.

NSPasteboardTypeTabularText

Tab-separated fields of text.

NSPasteboardTypeTextFinderOptions

Type for the Find panel metadata property list.

NSPasteboardTypeTIFF

Tag Image File Format (TIFF) data.