Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Removes a CounterItem instance from the collection.
Syntax
Counters.Remove( _
ByVal index As Object _
)
Parameters
-
index [in]
-
Index of the CounterItem object to remove from the collection. The index is one-based.
Return value
This method does not return a value.
Exceptions
| Exception type | Condition |
|---|---|
| System.Runtime.InteropServices.COMException | The specified index is not valid. The Err.Number value is ???. |
Remarks
To remove all counters from the collection, you can call SystemMonitor.Reset.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client |
Windows 2000 Professional [desktop apps only] |
| Minimum supported server |
Windows 2000 Server [desktop apps only] |
| DLL |
|