MonobjcMonobjc Documented Class Library
FileExtensionsFromType Method (documentTypeName)
NamespacesMonobjc.AppKitNSDocumentControllerFileExtensionsFromType(NSString)

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 BasicVisual 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)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)