Click or drag to resize
AkCommonHasContent Method (String)
判断字符串是否有内容。

即检查字符串是否不为 null 并且长度大于 0。

Namespace: Appkit.Common
Assembly: Appkit (in Appkit.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
C#
public static bool HasContent(
	string value
)

Parameters

value
Type: SystemString
字符串。

Return Value

Type: Boolean
有内容为true、否则为false。
See Also