Edit

Share via


NSFileManager.GetDirectoryContent Method

Definition

Overloads

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

Parameters

path
String
error
NSError

Returns

String[]
Attributes

Applies to

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

Parameters

url
NSUrl
properties
NSArray

To be added.

This parameter can be null.

error
NSError

Returns

NSUrl[]
Attributes

Applies to