一款简单易用的基础网络通讯组件库。

FileUtilityPathFormat 方法

路径格式化。

Definition

命名空间: TouchSocket.Core
程序集: TouchSocket.Core (在 TouchSocket.Core.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
C#
public static string PathFormat(
	string pathString
)

参数

pathString  String

[缺少 "M:TouchSocket.Core.FileUtility.PathFormat(System.String)" 的 <param name="pathString"/> 文档]

返回值

String

[缺少 "M:TouchSocket.Core.FileUtility.PathFormat(System.String)" 的 <returns> 文档]

备注

此操作会把路径中的所有反斜杠替换为正斜杠。例如:C:\\a.txt替换为C:/a.txt

参见