Contains 方法
檢查診斷檢視是否包含給定的機碼值組。
命名空間: Microsoft.ComplexEventProcessing
組件: Microsoft.ComplexEventProcessing (在 Microsoft.ComplexEventProcessing.dll 中)
語法
public bool Contains(
KeyValuePair<string, Object> item
)
參數
- item
型別:System.Collections.Generic. . :: . .KeyValuePair< (Of < ( <'String, Object> ) > ) >
要檢查的機碼值組。
傳回值
型別:System. . :: . .Boolean
如果診斷檢視包含給定的機碼值組,則為 true,否則為 false。
實作
ICollection< (Of < ( <'T> ) > ) >. . :: . .Contains(T)