NSItemProvider.RegisterObject Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Перегрузки
RegisterObject(INSItemProviderWriting, NSItemProviderRepresentationVisibility)
[Foundation.Export("registerObject:visibility:")]
[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 void RegisterObject (Foundation.INSItemProviderWriting object, Foundation.NSItemProviderRepresentationVisibility visibility);
abstract member RegisterObject : Foundation.INSItemProviderWriting * Foundation.NSItemProviderRepresentationVisibility -> unit
override this.RegisterObject : Foundation.INSItemProviderWriting * Foundation.NSItemProviderRepresentationVisibility -> unit
Параметры
- object
- INSItemProviderWriting
- visibility
- NSItemProviderRepresentationVisibility
- Атрибуты
Применяется к
RegisterObject(Class, NSItemProviderRepresentationVisibility, RegisterObjectRepresentationLoadHandler)
[Foundation.Export("registerObjectOfClass:visibility:loadHandler:")]
[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 void RegisterObject (ObjCRuntime.Class aClass, Foundation.NSItemProviderRepresentationVisibility visibility, Foundation.RegisterObjectRepresentationLoadHandler loadHandler);
abstract member RegisterObject : ObjCRuntime.Class * Foundation.NSItemProviderRepresentationVisibility * Foundation.RegisterObjectRepresentationLoadHandler -> unit
override this.RegisterObject : ObjCRuntime.Class * Foundation.NSItemProviderRepresentationVisibility * Foundation.RegisterObjectRepresentationLoadHandler -> unit
Параметры
- aClass
- Class
- visibility
- NSItemProviderRepresentationVisibility
- loadHandler
- RegisterObjectRepresentationLoadHandler
- Атрибуты
Применяется к
RegisterObject(Type, NSItemProviderRepresentationVisibility, RegisterObjectRepresentationLoadHandler)
[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 void RegisterObject (Type type, Foundation.NSItemProviderRepresentationVisibility visibility, Foundation.RegisterObjectRepresentationLoadHandler loadHandler);
member this.RegisterObject : Type * Foundation.NSItemProviderRepresentationVisibility * Foundation.RegisterObjectRepresentationLoadHandler -> unit
Параметры
- type
- Type
- visibility
- NSItemProviderRepresentationVisibility
- loadHandler
- RegisterObjectRepresentationLoadHandler
- Атрибуты