Share via


SPBlockedSolutionCollection.GetEnumerator Method

Returns an enumerator over the blocked solutions in this collection.

Namespace:  Microsoft.SharePoint.UserCode
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Function GetEnumerator As IEnumerator(Of SPBlockedSolution)
'Usage
Dim instance As SPBlockedSolutionCollection
Dim returnValue As IEnumerator(Of SPBlockedSolution)

returnValue = instance.GetEnumerator()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public IEnumerator<SPBlockedSolution> GetEnumerator()

Return Value

Type: System.Collections.Generic.IEnumerator<SPBlockedSolution>
An enumerator used to iterate over the blocked solutions.

Implements

IEnumerable<T>.GetEnumerator()

See Also

Reference

SPBlockedSolutionCollection Class

SPBlockedSolutionCollection Members

Microsoft.SharePoint.UserCode Namespace