MonobjcMonobjc Documented Class Library
NSInputStream Constructor (path)
NamespacesMonobjc.FoundationNSInputStreamNSInputStream(NSString)

Initializes and returns an NSInputStream object that reads data from the file at a given path.

Original signature is '- (id)initWithFileAtPath:(NSString *)path'

Available in Mac OS X v10.3 and later.

Declaration Syntax
C#Visual BasicVisual C++
public NSInputStream(
	NSString path
)
Public Sub New ( _
	path As NSString _
)
public:
NSInputStream(
	NSString^ path
)
Parameters
path (NSString)
The path to the file.
Return Value
An initialized NSInputStream object that reads data from the file at path. If the file specified by path doesn’t exist or is unreadable, returns nil.
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)