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.

C# | Visual Basic | Visual 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 )

- __target (NSURL)
- The target instance.
- pasteboard (NSPasteboard)
- MISSING

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.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)