Name | Description | |
---|---|---|
MetricDefinitionCollection Constructor |
The following tables list the members exposed by MetricDefinitionCollection.
Name | Description | |
---|---|---|
MetricDefinitionCollection Constructor |
Name | Description | |
---|---|---|
Count | The number of items currently in the collection | |
IsReadOnly | Indicates if the collection is read only and therefore can't have items added or removed. | |
Item | Overloaded. Retrieve metric packet by numeric index in collection. | |
Lock | Object Change Locking object. |
Name | Description | |
---|---|---|
Add | Add an existing MetricDefinition item to this collection. | |
Clear | Clearing objects is not supported. | |
Contains | Determines whether an element is in the collection. | |
ContainsKey | Overloaded. Determines whether the collection contains an element with the specified key. | |
ContainsMetricKey | Determines whether the collection contains an element with the specified key. | |
CopyTo | Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. | |
IndexOf | Searches for the specified value and returns the zero-based index of the first occurrence | |
Insert | Inserting objects by index is not supported because the collection is sorted. | |
Metric | Retrieve a metric given its unique Id. | |
Remove | Removing objects is not supported. | |
RemoveAt | Removing objects by index is not supported because the collection is always read only. | |
ToArray | Copy the entire collection of metric definitions into a new array. | |
TryGetMetricValue | Retrieve an item from the collection by its key if present. If not present, the default value of the object is returned. | |
TryGetValue | Overloaded. Retrieve an item from the collection by its key if present. If not present, the default value of the object is returned. |
Name | Description | |
---|---|---|
CollectionChanged | Raised every time the collection's contents are changed to allow subscribers to automatically track changes. |