MonobjcMonobjc Documented Class Library
InitDirectoryWithFileWrappers Method (childrenByPreferredName)

Initializes the receiver as a directory file wrapper, with a given file-wrapper list.

Original signature is '- (id)initDirectoryWithFileWrappers:(NSDictionary *)childrenByPreferredName'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id InitDirectoryWithFileWrappers(
	NSDictionary childrenByPreferredName
Public Overridable Function InitDirectoryWithFileWrappers ( _
	childrenByPreferredName As NSDictionary _
) As Id
virtual Id^ InitDirectoryWithFileWrappers(
	NSDictionary^ childrenByPreferredName
childrenByPreferredName (NSDictionary)
Key-value dictionary of file wrappers with which to initialize the receiver. The dictionary must contain entries whose values are the file wrappers that are to become children and whose keys are filenames. See “Working With Directory Wrappers” in Application File Management for more information about the file-wrapper list structure.
Return Value
Initialized file wrapper for fileWrappers.
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)