IUIDropSession.LoadObjects(Class, Action<INSItemProviderReading[]>) IUIDropSession.LoadObjects(Class, Action<INSItemProviderReading[]>) Method

Definition

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

[Foundation.Export("loadObjectsOfClass:completion:")]
[Foundation.Preserve(Conditional=true)]
public Foundation.NSProgress LoadObjects (ObjCRuntime.Class itemProviderReadingClass, Action<Foundation.INSItemProviderReading[]> completion);
abstract member LoadObjects : ObjCRuntime.Class * Action<Foundation.INSItemProviderReading[]> -> Foundation.NSProgress

Parameters

itemProviderReadingClass
Class Class

The class of objects to load.

completion
Action<INSItemProviderReading[]>

Handler to run after the objecs are loaded.

Returns

Applies to