Initializes and returns an NSDocument object of a given document type. (Deprecated in Mac OS X v10.4. Use initWithContentsOfURL:ofType:error: instead.)
Original signature is '- (id)initWithContentsOfURL:(NSURL *)aURL 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 initWithContentsOfURL:ofType:error: instead.")] public virtual Id InitWithContentsOfURLOfType( NSURL aURL, NSString docType )
<ObsoleteAttribute("Deprecated in Mac OS X v10.4. Use initWithContentsOfURL:ofType:error: instead.")> _ Public Overridable Function InitWithContentsOfURLOfType ( _ aURL As NSURL, _ docType As NSString _ ) As Id
[ObsoleteAttribute(L"Deprecated in Mac OS X v10.4. Use initWithContentsOfURL:ofType:error: instead.")] public: virtual Id^ InitWithContentsOfURLOfType( NSURL^ aURL, NSString^ docType )
Return Value
[Missing <returns> documentation for "M:Monobjc.AppKit.NSDocument.InitWithContentsOfURLOfType(Monobjc.Foundation.NSURL,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)