Returns the input typed as IJEnumerable<(Of <(<'T>)>)>.
| C# | Visual Basic | Visual C++ |
public static IJEnumerable<T> AsJEnumerable<T>( this IEnumerable<T> source ) where T : JToken
<ExtensionAttribute> _ Public Shared Function AsJEnumerable(Of T As JToken) ( _ source As IEnumerable(Of T) _ ) As IJEnumerable(Of T)
[ExtensionAttribute] public: generic<typename T> where T : JToken static IJEnumerable<T>^ AsJEnumerable( IEnumerable<T>^ source )
- T
- The source collection type.
- source (IEnumerable<(Of <(<'T>)>)>)
- An IEnumerable<(Of <(<'T>)>)> of JToken that contains the source collection.
The input typed as IJEnumerable<(Of <(<'T>)>)>.
In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerable<(Of <(<'T>)>)>. When you use instance method syntax to call this method, omit the first parameter.