Json.NET - Quick Starts & API Documentation
AsJEnumerable Method (source)
Namespaces ► Newtonsoft.Json.Linq ► Extensions ► AsJEnumerable(IEnumerable<(Of <<'(JToken>)>>))
Returns the input typed as IJEnumerable<(Of <(<'T>)>)>.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static IJEnumerable<JToken> AsJEnumerable( this IEnumerable<JToken> source )
<ExtensionAttribute> _ Public Shared Function AsJEnumerable ( _ source As IEnumerable(Of JToken) _ ) As IJEnumerable(Of JToken)
[ExtensionAttribute] public: static IJEnumerable<JToken^>^ AsJEnumerable( IEnumerable<JToken^>^ source )
Parameters
- source (IEnumerable<(Of <(<'JToken>)>)>)
- An IEnumerable<(Of <(<'T>)>)> of JToken that contains the source collection.
Return Value
The input typed as IJEnumerable<(Of <(<'T>)>)>.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerable<(Of <(<'JToken>)>)>. When you use instance method syntax to call this method, omit the first parameter.