編輯

共用方式為


NSMachPort.FromMachPort Method

Definition

Overloads

FromMachPort(UInt32)
FromMachPort(UInt32, NSMachPortRights)

FromMachPort(UInt32)

[Foundation.Export("portWithMachPort:")]
public static Foundation.NSPort FromMachPort (uint port);
static member FromMachPort : uint32 -> Foundation.NSPort

Parameters

port
UInt32

Returns

Attributes

Applies to

FromMachPort(UInt32, NSMachPortRights)

[Foundation.Export("portWithMachPort:options:")]
public static Foundation.NSPort FromMachPort (uint port, Foundation.NSMachPortRights options);
static member FromMachPort : uint32 * Foundation.NSMachPortRights -> Foundation.NSPort

Parameters

port
UInt32

Returns

Attributes

Applies to