MonobjcMonobjc Documented Class Library
InitRegularFileWithContents Method (contents)

Initializes the receiver as a regular-file file wrapper.

Original signature is '- (id)initRegularFileWithContents:(NSData *)contents'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id InitRegularFileWithContents(
	NSData contents
Public Overridable Function InitRegularFileWithContents ( _
	contents As NSData _
) As Id
virtual Id^ InitRegularFileWithContents(
	NSData^ contents
contents (NSData)
Contents of the file.
Return Value
Initialized regular-file file wrapper containing contents.
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.AppKit (Module: Monobjc.AppKit)