NSItemProvider.RegisterCloudKitShare NSItemProvider.RegisterCloudKitShare Method

Definition

Overloads

RegisterCloudKitShare(CKShare, CKContainer) RegisterCloudKitShare(CKShare, CKContainer)
RegisterCloudKitShare(Action<CloudKitRegistrationPreparationHandler>) RegisterCloudKitShare(Action<CloudKitRegistrationPreparationHandler>)
RegisterCloudKitShare(CloudKitRegistrationPreparationAction) RegisterCloudKitShare(CloudKitRegistrationPreparationAction)

RegisterCloudKitShare(CKShare, CKContainer) RegisterCloudKitShare(CKShare, CKContainer)

[Foundation.Export("registerCloudKitShare:container:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void RegisterCloudKitShare (CloudKit.CKShare share, CloudKit.CKContainer container);
abstract member RegisterCloudKitShare : CloudKit.CKShare * CloudKit.CKContainer -> unit
override this.RegisterCloudKitShare : CloudKit.CKShare * CloudKit.CKContainer -> unit

Parameters

RegisterCloudKitShare(Action<CloudKitRegistrationPreparationHandler>) RegisterCloudKitShare(Action<CloudKitRegistrationPreparationHandler>)

Warning

This API is now obsolete.

[System.Obsolete("Use RegisterCloudKitShare (CloudKitRegistrationPreparationAction) instead.")]
public virtual void RegisterCloudKitShare (Action<Foundation.CloudKitRegistrationPreparationHandler> preparationHandler);
abstract member RegisterCloudKitShare : Action<Foundation.CloudKitRegistrationPreparationHandler> -> unit
override this.RegisterCloudKitShare : Action<Foundation.CloudKitRegistrationPreparationHandler> -> unit

Parameters

RegisterCloudKitShare(CloudKitRegistrationPreparationAction) RegisterCloudKitShare(CloudKitRegistrationPreparationAction)

[Foundation.Export("registerCloudKitShareWithPreparationHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void RegisterCloudKitShare (Foundation.CloudKitRegistrationPreparationAction preparationHandler);
abstract member RegisterCloudKitShare : Foundation.CloudKitRegistrationPreparationAction -> unit
override this.RegisterCloudKitShare : Foundation.CloudKitRegistrationPreparationAction -> unit

Parameters

Applies to