Share via


ODataPath.GetEnumerator Method

Get the segments enumerator

Namespace:  Microsoft.Data.OData.Query.SemanticAst
Assembly:  Microsoft.Data.OData (in Microsoft.Data.OData.dll)

Syntax

'Declaration
Public Function GetEnumerator As IEnumerator(Of ODataPathSegment)
'Usage
Dim instance As ODataPath 
Dim returnValue As IEnumerator(Of ODataPathSegment)

returnValue = instance.GetEnumerator()
public IEnumerator<ODataPathSegment> GetEnumerator()
public:
virtual IEnumerator<ODataPathSegment^>^ GetEnumerator() sealed
abstract GetEnumerator : unit -> IEnumerator<ODataPathSegment> 
override GetEnumerator : unit -> IEnumerator<ODataPathSegment> 
public final function GetEnumerator() : IEnumerator<ODataPathSegment>

Return Value

Type: System.Collections.Generic.IEnumerator<ODataPathSegment>
The segments enumerator

Implements

IEnumerable<T>.GetEnumerator()

See Also

Reference

ODataPath Class

Microsoft.Data.OData.Query.SemanticAst Namespace