Share via


Session.GetEnumerator Method

Definition

Returns an enumerator that iterates through the collection

public:
 virtual System::Collections::IEnumerator ^ GetEnumerator();
public System.Collections.IEnumerator GetEnumerator ();
abstract member GetEnumerator : unit -> System.Collections.IEnumerator
override this.GetEnumerator : unit -> System.Collections.IEnumerator
Public Function GetEnumerator () As IEnumerator

Returns

IEnumerator interface reference.

Implements

Remarks

This is what is used for 'foreach ( IHostedApplication app in session )'

Applies to