Upravit

Sdílet prostřednictvím


NSItemProvider.CanLoadObject Method

Definition

Overloads

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

Parameters

aClass
Class

Returns

Attributes

Applies to

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

Parameters

type
Type

Returns

Attributes

Applies to