共用方式為


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 物件之以零起始的索引。

適用於