Name | Description | |
---|---|---|
MetricSampleCollection Constructor | Create a new sample collection for the specified metric object |
The following tables list the members exposed by MetricSampleCollection.
Name | Description | |
---|---|---|
MetricSampleCollection Constructor | Create a new sample collection for the specified metric object |
Name | Description | |
---|---|---|
Count | The number of items currently in the collection | |
First | The first object in the collection | |
IsReadOnly | Indicates if the collection is read only and therefore can't have items added or removed. | |
Item | Select a metric sample by its numerical index | |
Last | The last object in the collection | |
Metric | The metric this collection of samples is related to |
Name | Description | |
---|---|---|
Add | Add the specified MetricSample item to the collection | |
Clear | Remove all elements from the collection. | |
Contains | Determines whether an element is in the collection. | |
ContainsKey | 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 | Retrieves the numerical index of the specified item in the collection or -1 if not found. | |
Insert | Not supported. | |
Remove | Remove the specified MetricSample item. If the MetricSample isn't in the collection, no exception is thrown. | |
RemoveAt | Remove a sample at a specific numerical index. | |
ToArray | Copy the entire collection of metric samples into a new array. |
Name | Description | |
---|---|---|
OnCollectionChanged | This method is called every time a collection change event occurs to allow inheritors to override the change event. |
Name | Description | |
---|---|---|
CollectionChanged | Raised every time the collection's contents are changed to allow subscribers to automatically track changes. |