Click or drag to resize

DirectoryListDirBegin Method

Initializes the stream used to list all files and directories using the GetNext function, closing the current opened stream if needed. Once the stream has been processed, it should typically be closed with ListDirEnd.

If skip_navigational is true, . and .. are filtered out.

If skip_hidden is true, hidden files are filtered out.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Error ListDirBegin(
	bool skipNavigational = false,
	bool skipHidden = false
)

Parameters

skipNavigational (Optional)
Type: SystemBoolean

[Missing <param name="skipNavigational"/> documentation for "M:Godot.Directory.ListDirBegin(System.Boolean,System.Boolean)"]

skipHidden (Optional)
Type: SystemBoolean

[Missing <param name="skipHidden"/> documentation for "M:Godot.Directory.ListDirBegin(System.Boolean,System.Boolean)"]

Return Value

Type: Error

[Missing <returns> documentation for "M:Godot.Directory.ListDirBegin(System.Boolean,System.Boolean)"]

See Also