編輯

共用方式為


NSApplicationDelegate.WriteSelectionToPasteboard Method

Definition

Caution

Use the 'INSServicesMenuRequestor' protocol.

[Foundation.Export("writeSelectionToPasteboard:types:")]
[System.Obsolete("Use the 'INSServicesMenuRequestor' protocol.", false)]
public virtual bool WriteSelectionToPasteboard (AppKit.NSPasteboard board, string[] types);
abstract member WriteSelectionToPasteboard : AppKit.NSPasteboard * string[] -> bool
override this.WriteSelectionToPasteboard : AppKit.NSPasteboard * string[] -> bool

Parameters

board
NSPasteboard
types
String[]

Returns

Attributes

Applies to