MonobjcMonobjc Documented Class Library
WriteToURLOptionsError Method (aURL, mask, errorPtr)
NamespacesMonobjc.FoundationNSDataWriteToURLOptionsError(NSURL, NSDataWritingOptions, NSError%)

Writes the bytes in the receiver to the location specified by a given URL.

Original signature is '- (BOOL)writeToURL:(NSURL *)aURL options:(NSDataWritingOptions)mask error:(NSError **)errorPtr'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool WriteToURLOptionsError(
	NSURL aURL,
	NSDataWritingOptions mask,
	out NSError errorPtr
)
Public Overridable Function WriteToURLOptionsError ( _
	aURL As NSURL, _
	mask As NSDataWritingOptions, _
	<OutAttribute> ByRef errorPtr As NSError _
) As Boolean
public:
virtual bool WriteToURLOptionsError(
	NSURL^ aURL, 
	NSDataWritingOptions mask, 
	[OutAttribute] NSError^% errorPtr
)
Parameters
aURL (NSURL)
The location to which to write the receiver's bytes.
mask (NSDataWritingOptions)
A mask that specifies options for writing the data. Constant components are described in “NSDataWritingOptions”.
errorPtr (NSError%)
If there is an error writing out the data, upon return contains an NSError object that describes the problem.
Return Value
YES if the operation succeeds, 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.Foundation (Module: Monobjc.Foundation)