MonobjcMonobjc Documented Class Library
GetInputStreamOutputStream Method (inputStream, outputStream)
NamespacesMonobjc.FoundationNSNetServiceGetInputStreamOutputStream(NSInputStream%, NSOutputStream%)

Retrieves by reference the input and output streams for the receiver and returns a Boolean value that indicates whether they were retrieved successfully.

Original signature is '- (BOOL)getInputStream:(NSInputStream **)inputStream outputStream:(NSOutputStream **)outputStream'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool GetInputStreamOutputStream(
	out NSInputStream inputStream,
	out NSOutputStream outputStream
)
Public Overridable Function GetInputStreamOutputStream ( _
	<OutAttribute> ByRef inputStream As NSInputStream, _
	<OutAttribute> ByRef outputStream As NSOutputStream _
) As Boolean
public:
virtual bool GetInputStreamOutputStream(
	[OutAttribute] NSInputStream^% inputStream, 
	[OutAttribute] NSOutputStream^% outputStream
)
Parameters
inputStream (NSInputStream%)
Upon return, the input stream for the receiver.
outputStream (NSOutputStream%)
Upon return, the output stream for the receiver.
Return Value
YES if the streams are created successfully, otherwise NO.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)