Json.NET - Quick Starts & API Documentation
GetProperty Method (propertyName, comparisonType)
Namespaces ► Newtonsoft.Json.Serialization ► JsonPropertyCollection ► GetProperty(String, StringComparison)
Gets a property by property name.
Declaration Syntax
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 )
Parameters
- propertyName (String)
- The name of the property to get.
- comparisonType (StringComparison)
- Type property name string comparison.
Return Value
A matching property if found.