Click or drag to resize
StringHelperNullTo Method (String, String)
空值转换,把 null 转换为 replaceText. e.g. NullTo(null,"ok") 返回 "ok", NullTo("1","ok")返回"1"

Namespace: X3Platform.Util
Assembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public static string NullTo(
	string text,
	string replaceText
)

Parameters

text
Type: SystemString

[Missing <param name="text"/> documentation for "M:X3Platform.Util.StringHelper.NullTo(System.String,System.String)"]

replaceText
Type: SystemString

[Missing <param name="replaceText"/> documentation for "M:X3Platform.Util.StringHelper.NullTo(System.String,System.String)"]

Return Value

Type: String

[Missing <returns> documentation for "M:X3Platform.Util.StringHelper.NullTo(System.String,System.String)"]

See Also