Edit

Share via


NSFileProviderExtension.GetPersistentIdentifier(NSUrl) Method

Definition

When implemented by the developer, returns a specified identifier for a given URL.

[Foundation.Export("persistentIdentifierForItemAtURL:")]
public virtual string GetPersistentIdentifier (Foundation.NSUrl itemUrl);
abstract member GetPersistentIdentifier : Foundation.NSUrl -> string
override this.GetPersistentIdentifier : Foundation.NSUrl -> string

Parameters

itemUrl
NSUrl

The URL for the shared document.

Returns

String that specifically identifies a document with reference to its URL.

Attributes

Remarks

The identifier is defined by relative path of the document from the root URL address that was returned by the DocumentStorageURL method.

This can be used from a background thread.

Applies to