The methods of Foundation.NSFileManager are listed below. For a list of all members, see the NSFileManager Members list.
See Also: Inherited members from Foundation.NSObject
ChangeCurrentDirectory(string)Attepts to switch the current directory to the specified path, returns success or failure. | ||
ComponentsToDisplay(string) | ||
Contents(string) | ||
ContentsEqual(string, string)Whether the files at the two specified paths have the same contents. | ||
Copy(NSUrl, NSUrl, out NSError)Attempts to copy the data from the srcUrl to the dstUrl, returning success or failure and encoding error (if any) in error. | ||
Copy(string, string, out NSError)Creates a copy of this object, allocating memory from the specified zone or from the default zone if the argument is null. | ||
CreateDirectory(string, bool, NSFileAttributes)Documentation for this section has not yet been entered. | ||
CreateDirectory(NSUrl, bool, NSDictionary, out NSError)Attemps to create the specified directory, returning success or failure. | ||
CreateDirectory(string, bool, NSDictionary, out NSError)Documentation for this section has not yet been entered. | ||
CreateDirectory(string, bool, NSFileAttributes, out NSError)Documentation for this section has not yet been entered. | ||
CreateFile(string, NSData, NSDictionary)Attempts to crate the specified file, with the specified data and attributes, returning success or failure. | ||
CreateFile(string, NSData, NSFileAttributes)Documentation for this section has not yet been entered. | ||
CreateSymbolicLink(NSUrl, NSUrl, out NSError)Attempts to create the specified symbolic link, returning success or failure, and encoding error (if any) in error. | ||
CreateSymbolicLink(string, string, out NSError)Documentation for this section has not yet been entered. | ||
DisplayName(string)The display name for the file at the specified path. | ||
EvictUbiquitous(NSUrl, out NSError)Removes the local copy of the specified cloud-based item, returning success or failure. | ||
FileExists(string)Whether the specified file exists. | ||
FileExists(string, ref bool)Documentation for this section has not yet been entered. | ||
GetAttributes(string)Documentation for this section has not yet been entered. | ||
GetAttributes(string, out NSError)Documentation for this section has not yet been entered. | ||
GetContainerUrl(string)The container directory for the specified security group ientifier. | ||
GetCurrentDirectory()The program's current directory. | ||
GetDirectoryContent(string, out NSError) | ||
GetDirectoryContent(NSUrl, NSArray, NSDirectoryEnumerationOptions, out NSError)Documentation for this section has not yet been entered. | ||
GetDirectoryContentRecursive(string, out NSError) | ||
GetEnumerator(string) | ||
GetEnumerator(NSUrl, NSString[], NSDirectoryEnumerationOptions, NSEnumerateErrorHandler)Documentation for this section has not yet been entered. | ||
GetFileSystemAttributes(string)Returns the file system attributes for a given volume. | ||
GetFileSystemAttributes(string, out NSError)Returns the file system attributes for a given volume. | ||
GetMountedVolumes(NSArray, NSVolumeEnumerationOptions)URLs of the mounted volumes on the device. | ||
GetRelationship(out NSUrlRelationship, NSUrl, NSUrl, out NSError)Documentation for this section has not yet been entered. | ||
GetRelationship(out NSUrlRelationship, NSSearchPathDirectory, NSSearchPathDomain, NSUrl, out NSError)Documentation for this section has not yet been entered. | ||
static | GetSkipBackupAttribute(string)Returns the status of the SkipBackup to iCloud attribute is set on the file. | |
static | GetSkipBackupAttribute(string, out NSError)Returns the status of the SkipBackup to iCloud attribute is set on the file. | |
GetSymbolicLinkDestination(string, out NSError)The path to which the symbolic link points. | ||
GetUrl(NSSearchPathDirectory, NSSearchPathDomain, NSUrl, bool, out NSError)Locates and optionally creates the specified common directory in a domain. | ||
GetUrlForPublishingUbiquitousItem(NSUrl, out NSDate, out NSError)A URL that can be shared to provide access to a cloud-based item. | ||
GetUrlForUbiquityContainer(string)The URL for the ubiquity (iCloud) container associated with the specified containerIdentifier. | ||
GetUrls(NSSearchPathDirectory, NSSearchPathDomain)Returns a list of commonly used directories matching the type of directory and the domain to search for. | ||
IsDeletableFile(string)Whether the file at the specified path can be deleted. | ||
IsExecutableFile(string)Whether the file at the specified path is executable. | ||
IsReadableFile(string)Whether the file at the specified path is readable. | ||
IsUbiquitous(NSUrl)Whether the specified item is targeted for storage on iCloud. | ||
IsWritableFile(string)Whether the file at the specified path is writable. | ||
Link(NSUrl, NSUrl, out NSError)Attempts to create a hard link between the specified NSUrls, returning success or failure and populating the error parameter. | ||
Link(string, string, out NSError)Documentation for this section has not yet been entered. | ||
Move(NSUrl, NSUrl, out NSError)Synchronously attempts to move the file from srcUrl to dstUrl, returning success or failure and setting the error parameter. | ||
Move(string, string, out NSError)Documentation for this section has not yet been entered. | ||
Remove(NSUrl, out NSError)Attempts to remove the item at the specified url, returning success or failure and setting the error parameter. | ||
Remove(string, out NSError)Documentation for this section has not yet been entered. | ||
Replace(NSUrl, NSUrl, string, NSFileManagerItemReplacementOptions, out NSUrl, out NSError)Attempts to replace the specified originalItem with the newItem, in a manner that does not lose data, returning success or faiure and setting the error parameter. | ||
SetAttributes(NSFileAttributes, string)Documentation for this section has not yet been entered. | ||
SetAttributes(NSDictionary, string, out NSError)Attempts to set the attributes of the file at the specified path, returning success or failure and setting the error parameter. | ||
SetAttributes(NSFileAttributes, string, out NSError)Documentation for this section has not yet been entered. | ||
static | SetSkipBackupAttribute(string, bool) | |
SetUbiquitous(bool, NSUrl, NSUrl, out NSError)Attempts to set whether the item at the specified url should be stored in iCloud, returning success or failure and setting the error parameter. | ||
StartDownloadingUbiquitous(NSUrl, out NSError)Attempts to start downloading the specified item from iCloud, returning success or failure and setting the error parameter. | ||
Subpaths(string)An array of strings representing the paths to all items at the specified path. |