MonobjcMonobjc Documented Class Library
InputStreamWithFileAtPath Method (path)
NamespacesMonobjc.FoundationNSInputStreamInputStreamWithFileAtPath(NSString)

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

Original signature is '+ (id)inputStreamWithFileAtPath:(NSString *)path'

Available in Mac OS X v10.3 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSInputStream InputStreamWithFileAtPath(
	NSString path
)
Public Shared Function InputStreamWithFileAtPath ( _
	path As NSString _
) As NSInputStream
public:
static NSInputStream^ InputStreamWithFileAtPath(
	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)