Edit

Share via


NSItemProvider.RegisterObject Method

Definition

Overloads

RegisterObject(INSItemProviderWriting, NSItemProviderRepresentationVisibility)
RegisterObject(Class, NSItemProviderRepresentationVisibility, RegisterObjectRepresentationLoadHandler)
RegisterObject(Type, NSItemProviderRepresentationVisibility, RegisterObjectRepresentationLoadHandler)

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

Parameters

Attributes

Applies to

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

Parameters

aClass
Class
Attributes

Applies to

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

Parameters

type
Type
Attributes

Applies to