Creates and returns a data object that contains the contents of the document, formatted to a specified type.
Original signature is '- (NSData *)dataOfType:(NSString *)typeName error:(NSError **)outError'
Available in Mac OS X v10.4 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
Public Overridable Function DataOfTypeError ( _ typeName As NSString, _ <OutAttribute> ByRef outError As NSError _ ) As NSData
public: virtual NSData^ DataOfTypeError( NSString^ typeName, [OutAttribute] NSError^% outError )
Return Value
A data object containing the document contents, or, if the data object could not be created, nil.
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)