Share via


MetricThresholdCollection.GetEnumerator Method

Applies To: Windows 8.1

Retrieves an enumerator for the items in a MetricThresholdCollection.

Namespace: Microsoft.Assessments.Runtime
Assembly: Microsoft.Assessments.Core (in Microsoft.Assessments.Core.dll)

Usage

'Usage
Dim instance As MetricThresholdCollection
Dim returnValue As IEnumerator

returnValue = instance.GetEnumerator

Syntax

'Declaration
Public Overridable Function GetEnumerator As IEnumerator
public virtual IEnumerator GetEnumerator ()
public:
virtual IEnumerator^ GetEnumerator ()
public IEnumerator GetEnumerator ()
public function GetEnumerator () : IEnumerator

Return Value

Returns IEnumerator. An enumerator for the items in the collection.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows 8.1

See Also

Reference

MetricThresholdCollection Class
MetricThresholdCollection Members
Microsoft.Assessments.Runtime Namespace