Sets the contents of this document by reading from a file or file package, of a specified type, located by a URL.
Original signature is '- (BOOL)readFromURL:(NSURL *)absoluteURL ofType:(NSString *)typeName error:(NSError **)outError'
Available in Mac OS X v10.4 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual bool ReadFromURLOfTypeError( NSURL absoluteURL, NSString typeName, out NSError outError )
Public Overridable Function ReadFromURLOfTypeError ( _ absoluteURL As NSURL, _ typeName As NSString, _ <OutAttribute> ByRef outError As NSError _ ) As Boolean
public: virtual bool ReadFromURLOfTypeError( NSURL^ absoluteURL, NSString^ typeName, [OutAttribute] NSError^% outError )
Parameters
Return Value
YES if the document contents could be read; otherwise, NO.
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)