-Documentation

This commit is contained in:
James Newton-King
2015-06-10 01:16:12 +12:00
parent f4e8c3d2ca
commit 08296c5eca
12 changed files with 120 additions and 16 deletions
+2 -4
View File
@@ -16,10 +16,8 @@
<para>SelectToken is a method on JToken and takes a string path to a child token.
SelectToken returns the child token or a null reference if a token couldn't be
found at the path's location.</para>
<para>The path is made up of property names and array indexes separated by periods.
Array indexes can use either square or round brackets. Both of the following are
valid paths and are equivalent to each other: <codeInline>Manufacturers[0].Name</codeInline>
and <codeInline>Manufacturers(0).Name</codeInline>.</para>
<para>The path is made up of property names and array indexes separated by periods,
e.g. <codeInline>Manufacturers[0].Name</codeInline>.</para>
<code lang="cs" source="..\Src\Newtonsoft.Json.Tests\Documentation\LinqToJsonTests.cs" region="SelectTokenComplex" title="SelectToken Example" />
</content>