MonobjcMonobjc Documented Class Library
OutputStreamToFileAtPathAppend Method (path, shouldAppend)
NamespacesMonobjc.FoundationNSOutputStreamOutputStreamToFileAtPathAppend(NSString, Boolean)

Creates and returns an initialized output stream for writing to a specified file.

Original signature is '+ (id)outputStreamToFileAtPath:(NSString *)path append:(BOOL)shouldAppend'

Available in Mac OS X v10.3 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSOutputStream OutputStreamToFileAtPathAppend(
	NSString path,
	bool shouldAppend
)
Public Shared Function OutputStreamToFileAtPathAppend ( _
	path As NSString, _
	shouldAppend As Boolean _
) As NSOutputStream
public:
static NSOutputStream^ OutputStreamToFileAtPathAppend(
	NSString^ path, 
	bool shouldAppend
)
Parameters
path (NSString)
The path 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 path.
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)