共用方式為


NSButton.SetTitleWithMnemonic(String) 方法

定義

[Foundation.Export("setTitleWithMnemonic:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 8, ObjCRuntime.PlatformArchitecture.All, "On 10.8, this method still will set the Title with the ampersand stripped from stringWithAmpersand, but does nothing else. Set the Title directly.")]
public virtual void SetTitleWithMnemonic (string mnemonic);
abstract member SetTitleWithMnemonic : string -> unit
override this.SetTitleWithMnemonic : string -> unit

參數

mnemonic
String
屬性

適用於