MonobjcMonobjc Documented Class Library
WritingOptionsForTypePasteboard Method (type, pasteboard)
NamespacesMonobjc.AppKitNSImageWritingOptionsForTypePasteboard(NSString, NSPasteboard)

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 BasicVisual C++
public virtual NSPasteboardWritingOptions WritingOptionsForTypePasteboard(
	NSString type,
	NSPasteboard pasteboard
)
Public Overridable Function WritingOptionsForTypePasteboard ( _
	type As NSString, _
	pasteboard As NSPasteboard _
) As NSPasteboardWritingOptions
public:
virtual 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)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)