Json.NET - Quick Starts & API Documentation
GetProperty Method (propertyName, comparisonType)
Namespaces ► Newtonsoft.Json.Serialization ► JsonPropertyCollection ► GetProperty(String, StringComparison)
Gets a property by property name.

C# | Visual Basic | Visual C++ |
public JsonProperty GetProperty( string propertyName, StringComparison comparisonType )
Public Function GetProperty ( _ propertyName As String, _ comparisonType As StringComparison _ ) As JsonProperty
public: JsonProperty^ GetProperty( String^ propertyName, StringComparison comparisonType )

- propertyName (String)
- The name of the property to get.
- comparisonType (StringComparison)
- Type property name string comparison.

A matching property if found.