Freigeben über


NSItemProvider.RegisterObject Methode

Definition

Überlädt

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

Parameter

Attribute

Gilt für:

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

Parameter

aClass
Class
Attribute

Gilt für:

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

Parameter

type
Type
Attribute

Gilt für: