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

适用于