NSFileManager.GetDirectoryContent 方法

定义

重载

GetDirectoryContent(String, NSError)
GetDirectoryContent(NSUrl, NSArray, NSDirectoryEnumerationOptions, NSError)

GetDirectoryContent(String, NSError)

[Foundation.Export("contentsOfDirectoryAtPath:error:")]
public virtual string[] GetDirectoryContent (string path, out Foundation.NSError error);
abstract member GetDirectoryContent : string *  -> string[]
override this.GetDirectoryContent : string *  -> string[]

参数

path
String
error
NSError

返回

String[]
属性

适用于

GetDirectoryContent(NSUrl, NSArray, NSDirectoryEnumerationOptions, NSError)

[Foundation.Export("contentsOfDirectoryAtURL:includingPropertiesForKeys:options:error:")]
public virtual Foundation.NSUrl[] GetDirectoryContent (Foundation.NSUrl url, Foundation.NSArray properties, Foundation.NSDirectoryEnumerationOptions options, out Foundation.NSError error);
abstract member GetDirectoryContent : Foundation.NSUrl * Foundation.NSArray * Foundation.NSDirectoryEnumerationOptions *  -> Foundation.NSUrl[]
override this.GetDirectoryContent : Foundation.NSUrl * Foundation.NSArray * Foundation.NSDirectoryEnumerationOptions *  -> Foundation.NSUrl[]

参数

url
NSUrl
properties
NSArray

内容待定。

此参数可以为 null

error
NSError

返回

NSUrl[]
属性

适用于