Initializes a document of a specified type.
Original signature is '- (id)initWithType:(NSString *)typeName error:(NSError **)outError'
Available in Mac OS X v10.4 and later.

C# | Visual Basic | Visual C++ |
Public Sub New ( _ typeName As NSString, _ <OutAttribute> ByRef outError As NSError _ )
public: NSDocument( NSString^ typeName, [OutAttribute] NSError^% outError )

The initialized NSDocument object, or, if the document could not be created, nil.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)