Adds a child file wrapper to the receiver, which must be a directory file wrapper.
Original signature is '- (NSString *)addFileWrapper:(NSFileWrapper *)child'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual NSString AddFileWrapper( NSFileWrapper child )
Public Overridable Function AddFileWrapper ( _ child As NSFileWrapper _ ) As NSString
public: virtual NSString^ AddFileWrapper( NSFileWrapper^ child )
Parameters
- child (NSFileWrapper)
- File wrapper to add to the directory.
Return Value
Dictionary key used to store fileWrapper in the directory’s list of file wrappers. The dictionary key is a unique filename, which is the same as the passed-in file wrapper's preferred filename unless that name is already in use as a key in the directory’s dictionary of children. See “Working With Directory Wrappers” in Application File Management for more information about the file-wrapper list structure.
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)