ServerGroupCollection.Contains(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
判斷指定的字串值是否存在於集合中。
public:
bool Contains(System::String ^ key);
public bool Contains(string key);
member this.Contains : string -> bool
Public Function Contains (key As String) As Boolean
參數
傳回
一個 Boolean 指定字串值是否存在於集合中的值。
若為真,則該字串值存在於集合中。
若為 False,則該字串值不存在於集合中。