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

Selects a JToken using a JPath expression. Selects the token that matches the object path.

Syntax
C++
C#
Visual Basic
public: JToken SelectToken( 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

A JToken.

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