Поделиться через


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

Возвращаемое значение

Атрибуты

Применяется к