Share via


SPKeyValuePairSerializationInfo.IEnumerable<KeyValuePair<String, Object>>.GetEnumerator method

Returns an enumerator that can be used to iterate through the key/value pairs in the collection.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Private Function GetEnumerator As IEnumerator(Of KeyValuePair(Of String, Object))
    Implements IEnumerable(Of KeyValuePair(Of String, Object)).GetEnumerator
'Usage
Dim instance As SPKeyValuePairSerializationInfo
Dim returnValue As IEnumerator(Of KeyValuePair(Of String, Object))

returnValue = CType(instance, IEnumerable(Of KeyValuePair(Of String, Object))).GetEnumerator()
IEnumerator<KeyValuePair<string, Object>> IEnumerable<KeyValuePair<string, Object>>.GetEnumerator()

Return value

Type: System.Collections.Generic.IEnumerator<KeyValuePair<String, Object>>
An enumerator for the collection.

Implements

IEnumerable<T>.GetEnumerator()

See also

Reference

SPKeyValuePairSerializationInfo class

SPKeyValuePairSerializationInfo members

Microsoft.SharePoint.Utilities namespace