判断字符串是否表示逻辑真。
表示真的值包括 "true/1/yes/y/ok/on/是/真" 以及非零的数值。
Namespace: Appkit.CommonAssembly: Appkit (in Appkit.dll) Version: 2.0.0.0 (2.0.0.0)
Syntaxpublic static bool IsTrue(
string s
)
Parameters
- s
- Type: SystemString
Return Value
Type:
Booleantrue或false。
See Also