Share via


ODataPath.GetCount(Boolean) Method

Definition

Get the segment count.

public int GetCount(bool keySegmentAsDepth);
member this.GetCount : bool -> int
Public Function GetCount (keySegmentAsDepth As Boolean) As Integer

Parameters

keySegmentAsDepth
Boolean

A bool value indicating whether to count key segment or not.

Returns

The count.

Applies to