共用方式為


NSDocument.ShareDocumentAsync(NSSharingService) 方法

定義

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<bool> ShareDocumentAsync (AppKit.NSSharingService sharingService);
abstract member ShareDocumentAsync : AppKit.NSSharingService -> System.Threading.Tasks.Task<bool>
override this.ShareDocumentAsync : AppKit.NSSharingService -> System.Threading.Tasks.Task<bool>

參數

sharingService
NSSharingService

傳回

屬性

適用於