点击或拖拽改变大小

ArgCheckerAssertFileExist 方法

Validate given argument isn't Null or empty AND argument value is the path of existing file.

命名空间:  DSkin.Html.Core.Utils
程序集:  DSkin (在 DSkin.dll 中) 版本:16.6.3.22
语法
C#
public static void AssertFileExist(
	string arg,
	string argName
)

参数

arg
类型:SystemString
argument to validate
argName
类型:SystemString
Name of the argument checked
异常
异常条件
ArgumentNullExceptionif arg is Null or empty
FileNotFoundExceptionif [!:arg] file-path not exist
参见