Condividi tramite


BundleCollection.IEnumerable<Bundle>.GetEnumerator Method

Returns an enumerator that can be used to iterate through the collection.

Namespace:  System.Web.Optimization
Assembly:  System.Web.Optimization (in System.Web.Optimization.dll)

Syntax

'Declaration
Private Function GetEnumerator As IEnumerator(Of Bundle)
    Implements IEnumerable(Of Bundle).GetEnumerator
'Usage
Dim instance As BundleCollection 
Dim returnValue As IEnumerator(Of Bundle)

returnValue = CType(instance, IEnumerable(Of Bundle)).GetEnumerator()
IEnumerator<Bundle> IEnumerable<Bundle>.GetEnumerator()
private:
virtual IEnumerator<Bundle^>^ GetEnumerator() sealed = IEnumerable<Bundle^>::GetEnumerator
private abstract GetEnumerator : unit -> IEnumerator<Bundle> 
private override GetEnumerator : unit -> IEnumerator<Bundle> 
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Return Value

Type: System.Collections.Generic.IEnumerator<Bundle>
An IEnumerator<T> that can be used to iterate through the collection.

Implements

IEnumerable<T>.GetEnumerator()

See Also

Reference

BundleCollection Class

System.Web.Optimization Namespace