MonobjcMonobjc Documented Class Library
WriteToPasteboard Method (__target, pasteboard)
NamespacesMonobjc.AppKitNSURL_AppKitAdditionsWriteToPasteboard(NSURL, NSPasteboard)

Writes the receiver to pasteboard. You must declare an NSURLPboardType data type for pasteboard before invoking this method; otherwise it returns without doing anything.

Original signature is '- (void)writeToPasteboard:(NSPasteboard *)pasteboard'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static void WriteToPasteboard(
	this NSURL __target,
	NSPasteboard pasteboard
)
<ExtensionAttribute> _
Public Shared Sub WriteToPasteboard ( _
	__target As NSURL, _
	pasteboard As NSPasteboard _
)
[ExtensionAttribute]
public:
static void WriteToPasteboard(
	NSURL^ __target, 
	NSPasteboard^ pasteboard
)
Parameters
__target (NSURL)
The target instance.
pasteboard (NSPasteboard)
MISSING
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type NSURL. When you use instance method syntax to call this method, omit the first parameter.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

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