NSFileProviderExtension.GetItem(NSString, NSError) Method

Definition

When implemented by the developer, returns the item for the identifier.

[Foundation.Export("itemForIdentifier:error:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual FileProvider.INSFileProviderItem GetItem (Foundation.NSString identifier, out Foundation.NSError error);
abstract member GetItem : Foundation.NSString *  -> FileProvider.INSFileProviderItem
override this.GetItem : Foundation.NSString *  -> FileProvider.INSFileProviderItem

Parameters

identifier
NSString

The persistent identifier for the item to get.

error
NSError

The error that occurred, if one occurred.

Returns

Attributes

Remarks

(More documentation for this node is coming)

This can be used from a background thread.

Applies to