NSFileManager.GetFileSystemAttributes Method

Definition

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

NSFileSystemAttributes

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

NSFileSystemAttributes

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