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[]
- 屬性