Share via


MethodCollection.GetEnumerator Method

NOTE: This API is now obsolete.

Returns an enumerator that can iterate through a collection.

Namespace:  Microsoft.Office.Server.ApplicationRegistry.Administration
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
<ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.",  _
    False)> _
Public Function GetEnumerator As IEnumerator(Of Method)
'Usage
Dim instance As MethodCollection
Dim returnValue As IEnumerator(Of Method)

returnValue = instance.GetEnumerator()
[ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.", 
    false)]
public IEnumerator<Method> GetEnumerator()

Return Value

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

Implements

IEnumerable<T>.GetEnumerator()

See Also

Reference

MethodCollection Class

MethodCollection Members

Microsoft.Office.Server.ApplicationRegistry.Administration Namespace