Writes document data to a file. (Deprecated in Mac OS X v10.4. Use writeToURL:ofType:error: instead.)
Original signature is '- (BOOL)writeToFile:(NSString *)fileName ofType:(NSString *)docType'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
[ObsoleteAttribute("Deprecated in Mac OS X v10.4. Use writeToURL:ofType:error: instead.")] public virtual bool WriteToFileOfType( NSString fileName, NSString docType )
<ObsoleteAttribute("Deprecated in Mac OS X v10.4. Use writeToURL:ofType:error: instead.")> _ Public Overridable Function WriteToFileOfType ( _ fileName As NSString, _ docType As NSString _ ) As Boolean
[ObsoleteAttribute(L"Deprecated in Mac OS X v10.4. Use writeToURL:ofType:error: instead.")] public: virtual bool WriteToFileOfType( NSString^ fileName, NSString^ docType )
Return Value
[Missing <returns> documentation for "M:Monobjc.AppKit.NSDocument.WriteToFileOfType(Monobjc.Foundation.NSString,Monobjc.Foundation.NSString)"]
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)