UIDocument.GetFileNameExtension(String, UIDocumentSaveOperation) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The file extension to append to the file URL of this UIDocument when writing it.
[Foundation.Export("fileNameExtensionForType:saveOperation:")]
public virtual string GetFileNameExtension (string typeName, UIKit.UIDocumentSaveOperation saveOperation);
abstract member GetFileNameExtension : string * UIKit.UIDocumentSaveOperation -> string
override this.GetFileNameExtension : string * UIKit.UIDocumentSaveOperation -> string
Parameters
- saveOperation
- UIDocumentSaveOperation
This represents a constant indicating if a document file is being written for the first time or being overwritten.
Returns
A string representing a type.
- Attributes
Remarks
This can be used from a background thread.