Class JsonPropertyCollection
Namespace: System.Dynamic.ExpandoObject
Assembly: Newtonsoft.Json.dll
Syntax
public class JsonPropertyCollection : System.Collections.ObjectModel.KeyedCollection<string,Newtonsoft.Json.Serialization.JsonProperty>
Constructors
JsonPropertyCollection(Type)
Methods
AddProperty(JsonProperty)
Declaration
public void AddProperty (Newtonsoft.Json.Serialization.JsonProperty property);
Parameters
JsonProperty
property
|
GetClosestMatchProperty(String)
Declaration
public Newtonsoft.Json.Serialization.JsonProperty GetClosestMatchProperty (string propertyName);
Parameters
String
propertyName
|
Returns
JsonProperty
|
GetKeyForItem(JsonProperty)
Declaration
protected override string GetKeyForItem (Newtonsoft.Json.Serialization.JsonProperty item);
Parameters
JsonProperty
item
|
Returns
String
|
GetProperty(String, StringComparison)
Declaration
public Newtonsoft.Json.Serialization.JsonProperty GetProperty (string propertyName, StringComparison comparisonType);
Parameters
String
propertyName
|
StringComparison
comparisonType
|
Returns
JsonProperty
|