共用方式為


PerformanceCounterPermissionEntryCollection.Contains 方法

定義

判斷這個集合是否含有指定的 PerformanceCounterPermissionEntry 物件。

public:
 bool Contains(System::Diagnostics::PerformanceCounterPermissionEntry ^ value);
public bool Contains (System.Diagnostics.PerformanceCounterPermissionEntry value);
member this.Contains : System.Diagnostics.PerformanceCounterPermissionEntry -> bool
Public Function Contains (value As PerformanceCounterPermissionEntry) As Boolean

參數

傳回

如果指定的 PerformanceCounterPermissionEntry 物件屬於這個集合,則為 true,否則為 false

適用於