MonobjcMonobjc Documented Class Library
NSOutputStream Constructor (url, shouldAppend)
NamespacesMonobjc.FoundationNSOutputStreamNSOutputStream(NSURL, Boolean)

Returns an initialized output stream for writing to a specified URL.

Original signature is '- (id)initWithURL:(NSURL *)url append:(BOOL)shouldAppend'

Available in Mac OS X v10.6 and later.

Declaration Syntax
C#Visual BasicVisual C++
public NSOutputStream(
	NSURL url,
	bool shouldAppend
)
Public Sub New ( _
	url As NSURL, _
	shouldAppend As Boolean _
)
public:
NSOutputStream(
	NSURL^ url, 
	bool shouldAppend
)
Parameters
url (NSURL)
The URL to the file the output stream will write to.
shouldAppend (Boolean)
YES if newly written data should be appended to any existing file contents, NO otherwise.
Return Value
An initialized output stream that can write to url.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)