Returns options for writing data of a specified type to a given pasteboard.
Original signature is '- (NSPasteboardWritingOptions)writingOptionsForType:(NSString *)type pasteboard:(NSPasteboard *)pasteboard'
Available in Mac OS X v10.6 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
NSPasteboardWritingOptions WritingOptionsForTypePasteboard( NSString type, NSPasteboard pasteboard )
Function WritingOptionsForTypePasteboard ( _ type As NSString, _ pasteboard As NSPasteboard _ ) As NSPasteboardWritingOptions
NSPasteboardWritingOptions WritingOptionsForTypePasteboard( NSString^ type, NSPasteboard^ pasteboard )
Parameters
- type (NSString)
- One of the types the receiver supports for writing (one of the UTIs returned by its implementation of writableTypesForPasteboard:).
- pasteboard (NSPasteboard)
- A pasteboard.
Return Value
Options for writing data of type type to pasteboard. Return 0 for no options, or a value given in “Pasteboard Writing Options.”
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)