編集

次の方法で共有


NSStream.GetStreamsToHost(String, nint, NSInputStream, NSOutputStream) Method

Definition

[Foundation.Export("getStreamsToHostWithName:port:inputStream:outputStream:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static void GetStreamsToHost (string hostname, nint port, out Foundation.NSInputStream inputStream, out Foundation.NSOutputStream outputStream);
static member GetStreamsToHost : string * nint *  *  -> unit

Parameters

hostname
String
port
System.System.IntPtr System.nativeint
inputStream
NSInputStream
outputStream
NSOutputStream
Attributes

Applies to