PerfmonObjectCountersAdd Method (String, PerfmonObjectCounter) |
Adds an element to the collection
Namespace:
NetQuarry.Diagnostics
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public int Add(
string key,
PerfmonObjectCounter value
)
Public Function Add (
key As String,
value As PerfmonObjectCounter
) As Integer
Parameters
- key
- Type: SystemString
The name of the element. This is used as the elements index. - value
- Type: NetQuarry.DiagnosticsPerfmonObjectCounter
The new element to add
Return Value
Type:
Int32The number of items in the collection
See Also