NSFileManager.GetFileSystemAttributes Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetFileSystemAttributes(String) |
Returns the file system attributes for a given volume. |
GetFileSystemAttributes(String, NSError) |
Returns the file system attributes for a given volume. |
GetFileSystemAttributes(String)
Returns the file system attributes for a given volume.
public Foundation.NSFileSystemAttributes GetFileSystemAttributes (string path);
member this.GetFileSystemAttributes : string -> Foundation.NSFileSystemAttributes
Parameters
- path
- String
Path to the any file in the volume to probe for information.
Returns
A NSFileSystemAttributes object that contains the file system properties or null on error.
Remarks
This function returns the file system information associated with the specified path. The path is any path name that is contained in a volume.
Applies to
GetFileSystemAttributes(String, NSError)
Returns the file system attributes for a given volume.
public Foundation.NSFileSystemAttributes GetFileSystemAttributes (string path, out Foundation.NSError error);
member this.GetFileSystemAttributes : string * -> Foundation.NSFileSystemAttributes
Parameters
- path
- String
Path to the any file in the volume to probe for information.
- error
- NSError
Error object, to return any error conditions.
Returns
A NSFileSystemAttributes object that contains the file system properties, or null on error.
Remarks
This function returns the file system information associated with the specified path. The path is any path name that is contained in a volume.