RegisteredServerCollection.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 值,指定字串值是否存在集合內。
如果為 True,則字串值存在集合內,否則為 False。