You are here: Symbol Reference > Stimulsoft.Base.Json.Linq Namespace > JToken Class > JToken Methods > SelectTokens Method > SelectTokens Method (string, bool)
Stimulsoft Reports Class Reference
ContentsIndexHome
PreviousUpNext
JToken.SelectTokens Method (string, bool)

Selects a collection of elements using a JPath expression.

Syntax
C++
C#
Visual Basic
public: IEnumerable<JToken> SelectTokens( string path, bool errorWhenNoMatch );
Parameters
Parameters 
Description 
path 
A String that contains a JPath expression.  
errorWhenNoMatch 
A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. 
Returns

An IEnumerable{JToken} that contains the selected elements.

Made with Doc-O-Matic.
What do you think about this topic? Send feedback!
Copyright (c) 2017. All rights reserved.