Json.NET Documentation
Json.NET Documentation
API Reference
Newtonsoft.Json.Linq
Extensions Class
Extensions Methods
AsJEnumerable Method
AsJEnumerable(T) Method (IEnumerable(T))
AsJEnumerable Method (IEnumerable(JToken))
Extensions
AsJEnumerable Method (IEnumerable
JToken
)
Returns the input typed as
IJEnumerable
T
.
Namespace:
Newtonsoft.Json.Linq
Assembly:
Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax
C#
Copy
public
static
IJEnumerable
<
JToken
>
AsJEnumerable
(
this
IEnumerable
<
JToken
>
source
)
Parameters
source
Type:
System.Collections.Generic
IEnumerable
JToken
An
IEnumerable
T
of
JToken
that contains the source collection.
Return Value
Type:
IJEnumerable
JToken
The input typed as
IJEnumerable
T
.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerable
JToken
. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic)
or
Extension Methods (C# Programming Guide)
.
See Also
Reference
Extensions Class
AsJEnumerable Overload
Newtonsoft.Json.Linq Namespace
Json.NET Home