MonobjcMonobjc Documented Class Library
FileNameExtensionForTypeSaveOperation Method (typeName, saveOperation)
NamespacesMonobjc.AppKitNSDocumentFileNameExtensionForTypeSaveOperation(NSString, NSSaveOperationType)

Returns a filename extension that can be appended to a base filename, for a specified file type and kind of save operation.

Original signature is '- (NSString *)fileNameExtensionForType:(NSString *)typeName saveOperation:(NSSaveOperationType)saveOperation'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSString FileNameExtensionForTypeSaveOperation(
	NSString typeName,
	NSSaveOperationType saveOperation
Public Overridable Function FileNameExtensionForTypeSaveOperation ( _
	typeName As NSString, _
	saveOperation As NSSaveOperationType _
) As NSString
virtual NSString^ FileNameExtensionForTypeSaveOperation(
	NSString^ typeName, 
	NSSaveOperationType saveOperation
typeName (NSString)
The file type.
saveOperation (NSSaveOperationType)
The kind of save operation.
Return Value
The filename extension.
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)