편집

다음을 통해 공유


UIDocument.GetFileNameExtension(String, UIDocumentSaveOperation) Method

Definition

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

typeName
String

String representing a type.

This parameter can be null.

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.

Applies to