共用方式為


CKContainer.AcceptShareMetadata 方法

定義

[Foundation.Export("acceptShareMetadata:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public virtual void AcceptShareMetadata (CloudKit.CKShareMetadata metadata, Action<CloudKit.CKShare,Foundation.NSError> completionHandler);
abstract member AcceptShareMetadata : CloudKit.CKShareMetadata * Action<CloudKit.CKShare, Foundation.NSError> -> unit
override this.AcceptShareMetadata : CloudKit.CKShareMetadata * Action<CloudKit.CKShare, Foundation.NSError> -> unit

參數

metadata
CKShareMetadata
completionHandler
Action<CKShare,NSError>
屬性

適用於