Freigeben über


NSItemProvider.LoadObject Methode

Definition

Überlädt

LoadObject(Class, Action<INSItemProviderReading,NSError>)
LoadObject<T>(Action<T,NSError>)

LoadObject(Class, Action<INSItemProviderReading,NSError>)

[Foundation.Export("loadObjectOfClass:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual Foundation.NSProgress LoadObject (ObjCRuntime.Class aClass, Action<Foundation.INSItemProviderReading,Foundation.NSError> completionHandler);
abstract member LoadObject : ObjCRuntime.Class * Action<Foundation.INSItemProviderReading, Foundation.NSError> -> Foundation.NSProgress
override this.LoadObject : ObjCRuntime.Class * Action<Foundation.INSItemProviderReading, Foundation.NSError> -> Foundation.NSProgress

Parameter

aClass
Class

Gibt zurück

Attribute

Gilt für:

LoadObject<T>(Action<T,NSError>)

[ObjCRuntime.TV(11, 0)]
[ObjCRuntime.Watch(4, 0)]
public Foundation.NSProgress LoadObject<T> (Action<T,Foundation.NSError> completionHandler) where T : Foundation.NSObject, Foundation.INSItemProviderReading;
member this.LoadObject : Action<'T, Foundation.NSError (requires 'T :> Foundation.NSObject and 'T :> Foundation.INSItemProviderReading)> -> Foundation.NSProgress (requires 'T :> Foundation.NSObject and 'T :> Foundation.INSItemProviderReading)

Typparameter

T

Parameter

completionHandler
Action<T,NSError>

Gibt zurück

Attribute

Gilt für: