NSItemProvider.LoadObject Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
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
Parametri
- aClass
- Class
- completionHandler
- Action<INSItemProviderReading,NSError>
Restituisce
- Attributi
Si applica a
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)
Parametri di tipo
- T
Parametri
Restituisce
- Attributi