Reads and loads document data of the given type from the given file. (Deprecated in Mac OS X v10.4. Use readFromURL:ofType:error: instead.)
Original signature is '- (BOOL)readFromFile:(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 readFromURL:ofType:error: instead.")] public virtual bool ReadFromFileOfType( NSString fileName, NSString docType )
<ObsoleteAttribute("Deprecated in Mac OS X v10.4. Use readFromURL:ofType:error: instead.")> _ Public Overridable Function ReadFromFileOfType ( _ fileName As NSString, _ docType As NSString _ ) As Boolean
[ObsoleteAttribute(L"Deprecated in Mac OS X v10.4. Use readFromURL:ofType:error: instead.")] public: virtual bool ReadFromFileOfType( NSString^ fileName, NSString^ docType )
Return Value
[Missing <returns> documentation for "M:Monobjc.AppKit.NSDocument.ReadFromFileOfType(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)