NSSearchPath.GetDirectories Method

Definition

Builds an array of directory search paths in specified directory and domains.

public static string[] GetDirectories (Foundation.NSSearchPathDirectory directory, Foundation.NSSearchPathDomain domainMask, bool expandTilde = true);
static member GetDirectories : Foundation.NSSearchPathDirectory * Foundation.NSSearchPathDomain * bool -> string[]

Parameters

directory
NSSearchPathDirectory

Searched directory kind.

domainMask
NSSearchPathDomain

Searched domains mask.

expandTilde
Boolean

Controls whether to expand tildes.

Returns

String[]

Remarks

The array is in the order in which you should search the directories. The directory returned may not exist.

Applies to