共用方式為


NSItemProvider.CanLoadObject 方法

定義

多載

CanLoadObject(Class)
CanLoadObject(Type)

CanLoadObject(Class)

[Foundation.Export("canLoadObjectOfClass:")]
[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 bool CanLoadObject (ObjCRuntime.Class aClass);
abstract member CanLoadObject : ObjCRuntime.Class -> bool
override this.CanLoadObject : ObjCRuntime.Class -> bool

參數

aClass
Class

傳回

屬性

適用於

CanLoadObject(Type)

[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 bool CanLoadObject (Type type);
member this.CanLoadObject : Type -> bool

參數

type
Type

傳回

屬性

適用於