Click or drag to resize
AkCommonListContains Method (ListString, String)
判断元素是否在列表中。

忽略大小写。

Namespace: Appkit.Common
Assembly: Appkit (in Appkit.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
C#
public static bool ListContains(
	List<string> list,
	string item
)

Parameters

list
Type: System.Collections.GenericListString
列表。
item
Type: SystemString
元素。

Return Value

Type: Boolean
See Also