Click or drag to resize

EAPUtilPathSplit Method (String, String, String, Boolean)

Split a path into its path and filename parts.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static void PathSplit(
	string toSplit,
	out string path,
	out string file,
	bool assumeDirIfNoExtension
)

Parameters

toSplit
Type: SystemString
The path and filename to split.
path
Type: SystemString
The path portion of the input.
file
Type: SystemString
The filename portion of the input.
assumeDirIfNoExtension
Type: SystemBoolean
Specifies whether or not to assume the provided path is a directory if the path has no file extension.
See Also