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

FileUtilityGetRelativePath 方法

获取相对路径。

Definition

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

参数

relativeTo  String

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

path  String

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

返回值

String

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

异常

ArgumentNullException

参见