共用方式為


ListSortDescriptionCollection.Contains(Object) 方法

定義

判斷 ListSortDescriptionCollection 是否含有特定值。

public:
 virtual bool Contains(System::Object ^ value);
public bool Contains (object value);
public bool Contains (object? value);
abstract member Contains : obj -> bool
override this.Contains : obj -> bool
Public Function Contains (value As Object) As Boolean

參數

value
Object

要在集合中尋找的 Object

傳回

如果在集合中找到 Object 則為 true,否則為 false

實作

適用於