共用方式為


NSConnection.RegisterName 方法

定義

多載

RegisterName(String)
RegisterName(String, NSPortNameServer)

RegisterName(String)

[Foundation.Export("registerName:")]
public virtual bool RegisterName (string name);
abstract member RegisterName : string -> bool
override this.RegisterName : string -> bool

參數

name
String

傳回

屬性

適用於

RegisterName(String, NSPortNameServer)

[Foundation.Export("registerName:withNameServer:")]
public virtual bool RegisterName (string name, Foundation.NSPortNameServer server);
abstract member RegisterName : string * Foundation.NSPortNameServer -> bool
override this.RegisterName : string * Foundation.NSPortNameServer -> bool

參數

name
String

傳回

屬性

適用於