Values Method (source, key)

Json.NET

Json.NET - Quick Starts & API Documentation Values Method (source, key)
NamespacesNewtonsoft.Json.LinqExtensionsValues(IEnumerable<(Of <<'(JToken>)>>), Object)
Returns a collection of child values of every object in the source collection with the given key.
Declaration Syntax
C# Visual Basic Visual C++
public static IJEnumerable<JToken> Values(
	this IEnumerable<JToken> source,
	Object key
)
<ExtensionAttribute> _
Public Shared Function Values ( _
	source As IEnumerable(Of JToken), _
	key As Object _
) As IJEnumerable(Of JToken)
[ExtensionAttribute]
public:
static IJEnumerable<JToken^>^ Values(
	IEnumerable<JToken^>^ source, 
	Object^ key
)
Parameters
source (IEnumerable<(Of <(<'JToken>)>)>)
An IEnumerable<(Of <(<'T>)>)> of JToken that contains the source collection.
key (Object)
The token key.
Return Value
An IEnumerable<(Of <(<'T>)>)> of JToken that contains the values of every node in the source collection with the given key.
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.

Assembly: Newtonsoft.Json (Module: Newtonsoft.Json) Version: 4.0.2.0 (4.0.2.13623)