Returns the allowable file extensions for the given document type. (Deprecated in Mac OS X v10.5. Use the NSDocument method fileNameExtensionForType:saveOperation: instead.)
Original signature is '- (NSArray *)fileExtensionsFromType:(NSString *)documentTypeName'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
[ObsoleteAttribute("Deprecated in Mac OS X v10.5. Use the NSDocument method fileNameExtensionForType:saveOperation: instead.")] public virtual NSArray FileExtensionsFromType( NSString documentTypeName )
<ObsoleteAttribute("Deprecated in Mac OS X v10.5. Use the NSDocument method fileNameExtensionForType:saveOperation: instead.")> _ Public Overridable Function FileExtensionsFromType ( _ documentTypeName As NSString _ ) As NSArray
[ObsoleteAttribute(L"Deprecated in Mac OS X v10.5. Use the NSDocument method fileNameExtensionForType:saveOperation: instead.")] public: virtual NSArray^ FileExtensionsFromType( NSString^ documentTypeName )
Parameters
- documentTypeName (NSString)
- The name of a document type, specified by CFBundleTypeName in the application’s Info.plist file.
Return Value
The allowable file extensions (as NSString objects) for documentTypeName.
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)