ParameterElementCollection.Contains(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定一個值,指定該命名型別是否在集合中。
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。
public:
bool Contains(System::String ^ typeName);
public bool Contains(string typeName);
member this.Contains : string -> bool
Public Function Contains (typeName As String) As Boolean
參數
- typeName
- String
要找的類型名稱。
傳回
true若元素存在;否則,。 false