Returns an initialized output stream for writing to a specified file.
Original signature is '- (id)initToFileAtPath:(NSString *)path append:(BOOL)shouldAppend'
Available in Mac OS X v10.3 and later.
Declaration Syntax
public virtual Id InitToFileAtPathAppend(
NSString path,
bool shouldAppend
)
Public Overridable Function InitToFileAtPathAppend ( _
path As NSString, _
shouldAppend As Boolean _
) As Id
public:
virtual Id^ InitToFileAtPathAppend(
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)