NSFileManager.GetDirectoryContent 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
- options
- NSDirectoryEnumerationOptions
- error
- NSError
返回
NSUrl[]
- 属性