MonobjcMonobjc Documented Class Library
PasteboardWithName Method (name)

Returns the pasteboard with the specified name.

Original signature is '+ (NSPasteboard *)pasteboardWithName:(NSString *)name'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSPasteboard PasteboardWithName(
	NSString name
Public Shared Function PasteboardWithName ( _
	name As NSString _
) As NSPasteboard
static NSPasteboard^ PasteboardWithName(
	NSString^ name
name (NSString)
The name of the pasteboard. The names of standard pasteboards are given in “Pasteboard Names.”
Return Value
The pasteboard associated with the given name, or a new NSPasteboard object if the application does not yet have a pasteboard object for the specified name.
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)