MonobjcMonobjc Documented Class Library
InitWithFileAtPath Method (path)
NamespacesMonobjc.FoundationNSInputStreamInitWithFileAtPath(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 virtual Id InitWithFileAtPath(
	NSString path
)
Public Overridable Function InitWithFileAtPath ( _
	path As NSString _
) As Id
public:
virtual Id^ InitWithFileAtPath(
	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)