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


NSItemProvider.RegisterDataRepresentation Метод

Определение

[Foundation.Export("registerDataRepresentationForTypeIdentifier: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 RegisterDataRepresentation (string typeIdentifier, Foundation.NSItemProviderRepresentationVisibility visibility, Foundation.RegisterDataRepresentationLoadHandler loadHandler);
abstract member RegisterDataRepresentation : string * Foundation.NSItemProviderRepresentationVisibility * Foundation.RegisterDataRepresentationLoadHandler -> unit
override this.RegisterDataRepresentation : string * Foundation.NSItemProviderRepresentationVisibility * Foundation.RegisterDataRepresentationLoadHandler -> unit

Параметры

typeIdentifier
String
Атрибуты

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