HtmlHelper.IsEmpty Method

HD.Common

HtmlHelperIsEmpty Method Helper帮助文档
判断输入是否为空 并弹出错误信息

Namespace: HD.Common
Assembly: HD.Common (in HD.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static bool IsEmpty(
	string str,
	string erroStr
)
Public Shared Function IsEmpty ( 
	str As String,
	erroStr As String
) As Boolean
public:
static bool IsEmpty(
	String^ str, 
	String^ erroStr
)
static member IsEmpty : 
        str : string * 
        erroStr : string -> bool 

Parameters

str
Type: SystemString
验证内容
erroStr
Type: SystemString
错误提示内容

Return Value

Type: Boolean
bool
See Also

Reference