MonobjcMonobjc Documented Class Library
DisplayNameForType Method (documentTypeName)
NamespacesMonobjc.AppKitNSDocumentControllerDisplayNameForType(NSString)

Returns the descriptive name for the specified document type, which is used in the File Format pop-up menu of the Save As dialog.

Original signature is '- (NSString *)displayNameForType:(NSString *)documentTypeName'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSString DisplayNameForType(
	NSString documentTypeName
)
Public Overridable Function DisplayNameForType ( _
	documentTypeName As NSString _
) As NSString
public:
virtual NSString^ DisplayNameForType(
	NSString^ documentTypeName
)
Parameters
documentTypeName (NSString)
The name of a document type, specified by CFBundleTypeName in the application’s Info.plist file.
Return Value
The descriptive name for the document type specified by documentTypeName. If there is no descriptive name, returns 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)