Edit

Share via


NSItemProvider.RegisterCloudKitShare Method

Definition

Overloads

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

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

share
CKShare
container
CKContainer
Attributes

Applies to

RegisterCloudKitShare(Action<CloudKitRegistrationPreparationHandler>)

Caution

Use RegisterCloudKitShare (CloudKitRegistrationPreparationAction) instead.

[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

Attributes

Applies to

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

Attributes

Applies to