iOS Guides | Samples

UIKit.IUIDropSession.LoadObjects Method

When implemented by the developer, instantiates every object in the drop session that has the type that is specified by the parameter.

Syntax

[Foundation.Export("loadObjectsOfClass:completion:")]
[Foundation.Preserve(Conditional=true)]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public NSProgress LoadObjects (Class itemProviderReadingClass, [ObjCRuntime.BlockProxy(typeof(ObjCRuntime.Trampolines/NIDActionArity1V141))] Action<Foundation.INSItemProviderReading[]> completion)

Parameters

itemProviderReadingClass
The class of objects to load.
completion
Handler to run after the objecs are loaded.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0