MonobjcMonobjc Documented Class Library
WriteFileContents Method (filename)
NamespacesMonobjc.AppKitNSPasteboardWriteFileContents(NSString)

Writes the contents of the specified file to the pasteboard.

Original signature is '- (BOOL)writeFileContents:(NSString *)filename'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool WriteFileContents(
	NSString filename
)
Public Overridable Function WriteFileContents ( _
	filename As NSString _
) As Boolean
public:
virtual bool WriteFileContents(
	NSString^ filename
)
Parameters
filename (NSString)
The name of the file to write to the pasteboard.
Return Value
YES if the data was successfully written, otherwise NO.
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)