다음을 통해 공유


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

반환

특성

적용 대상