PerformanceCounterPermissionEntryCollection.Add 方法

定义

向此集合添加指定的 PerformanceCounterPermissionEntry

public:
 int Add(System::Diagnostics::PerformanceCounterPermissionEntry ^ value);
public int Add (System.Diagnostics.PerformanceCounterPermissionEntry value);
member this.Add : System.Diagnostics.PerformanceCounterPermissionEntry -> int
Public Function Add (value As PerformanceCounterPermissionEntry) As Integer

参数

返回

所添加的 PerformanceCounterPermissionEntry 对象的从零开始的索引。

适用于