GroupCollection.ContainsKey(String) 方法

定義

判斷群組集合是否包含由指定名稱識別的擷取群組。

public:
 virtual bool ContainsKey(System::String ^ key);
public bool ContainsKey (string key);
abstract member ContainsKey : string -> bool
override this.ContainsKey : string -> bool
Public Function ContainsKey (key As String) As Boolean

參數

key
String

具有所要尋找擷取群組名稱的字串。

傳回

若群組集合包含由 key 識別的擷取群組,則為 true;否則為 false

實作

適用於