다음을 통해 공유


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[]
특성

적용 대상