MonobjcMonobjc Documented Class Library
KeyForFileWrapper Method (child)

Returns the dictionary key used by a directory to identify a given file wrapper.

Original signature is '- (NSString *)keyForFileWrapper:(NSFileWrapper *)child'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSString KeyForFileWrapper(
	NSFileWrapper child
Public Overridable Function KeyForFileWrapper ( _
	child As NSFileWrapper _
) As NSString
virtual NSString^ KeyForFileWrapper(
	NSFileWrapper^ child
child (NSFileWrapper)
The child file wrapper for which you want the key.
Return Value
Dictionary key used to store the file wrapper in the directory’s list of file wrappers. The dictionary key is a unique filename, which may not be the same as the passed-in file wrapper's preferred filename if more than one file wrapper in the directory's dictionary of children has the same preferred filename. See “Working With Directory Wrappers” in Application File Management for more information about the file-wrapper list structure. Returns nil if the file wrapper specified in child is not a child of the directory.
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)