NSItemProvider.LoadObject メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
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
パラメーター
- aClass
- Class
- completionHandler
- Action<INSItemProviderReading,NSError>
戻り値
- 属性
適用対象
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)
型パラメーター
- T
パラメーター
戻り値
- 属性