Share via


NSFileManager.GetFileSystemAttributes メソッド

定義

オーバーロード

GetFileSystemAttributes(String)

特定のボリュームのファイル システム属性を返します。

GetFileSystemAttributes(String, NSError)

特定のボリュームのファイル システム属性を返します。

GetFileSystemAttributes(String)

特定のボリュームのファイル システム属性を返します。

public Foundation.NSFileSystemAttributes GetFileSystemAttributes (string path);
member this.GetFileSystemAttributes : string -> Foundation.NSFileSystemAttributes

パラメーター

path
String

情報をプローブするボリューム内の任意のファイルへのパス。

戻り値

ファイル システムのプロパティを含む NSFileSystemAttributes オブジェクト、またはエラー時に null。

注釈

この関数は、指定したパスに関連付けられているファイル システム情報を返します。 パスは、ボリュームに含まれる任意のパス名です。

適用対象

GetFileSystemAttributes(String, NSError)

特定のボリュームのファイル システム属性を返します。

public Foundation.NSFileSystemAttributes GetFileSystemAttributes (string path, out Foundation.NSError error);
member this.GetFileSystemAttributes : string *  -> Foundation.NSFileSystemAttributes

パラメーター

path
String

情報をプローブするボリューム内の任意のファイルへのパス。

error
NSError

エラー条件を返す Error オブジェクト。

戻り値

ファイル システムのプロパティを含む NSFileSystemAttributes オブジェクト、またはエラー時に null。

注釈

この関数は、指定したパスに関連付けられているファイル システム情報を返します。 パスは、ボリュームに含まれる任意のパス名です。

適用対象