Json.NET - Quick Starts & API Documentation
JsonPropertyCollection Class
Namespaces ► Newtonsoft.Json.Serialization ► JsonPropertyCollection
A collection of JsonProperty objects.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public class JsonPropertyCollection : KeyedCollection<string, JsonProperty>
Public Class JsonPropertyCollection _ Inherits KeyedCollection(Of String, JsonProperty)
public ref class JsonPropertyCollection : public KeyedCollection<String^, JsonProperty^>
Members
All Members | Constructors | Methods | Properties | ||
|
|
|
Icon | Member | Description |
---|---|---|
JsonPropertyCollection(Type) |
Initializes a new instance of the JsonPropertyCollection class.
|
|
Add(T) |
Adds an object to the end of the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'JsonProperty>)>)>.) |
|
AddProperty(JsonProperty) |
Adds a JsonProperty object.
|
|
ChangeItemKey(TItem, TKey) |
Changes the key associated with the specified element in the lookup dictionary.
(Inherited from KeyedCollection<(Of <(<'String, JsonProperty>)>)>.) |
|
Clear()()()() |
Removes all elements from the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'JsonProperty>)>)>.) |
|
ClearItems()()()() |
Removes all elements from the KeyedCollection<(Of <(<'TKey, TItem>)>)>.
(Inherited from KeyedCollection<(Of <(<'String, JsonProperty>)>)>.) |
|
Comparer |
Gets the generic equality comparer that is used to determine equality of keys in the collection.
(Inherited from KeyedCollection<(Of <(<'String, JsonProperty>)>)>.) |
|
Contains(TKey) |
Determines whether the collection contains an element with the specified key.
(Inherited from KeyedCollection<(Of <(<'String, JsonProperty>)>)>.) |
|
Contains(T) |
Determines whether an element is in the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'JsonProperty>)>)>.) |
|
CopyTo(array<T>[]()[][], Int32) |
Copies the entire Collection<(Of <(<'T>)>)> to a compatible one-dimensional Array, starting at the specified index of the target array.
(Inherited from Collection<(Of <(<'JsonProperty>)>)>.) |
|
Count |
Gets the number of elements actually contained in the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'JsonProperty>)>)>.) |
|
Dictionary |
Gets the lookup dictionary of the KeyedCollection<(Of <(<'TKey, TItem>)>)>.
(Inherited from KeyedCollection<(Of <(<'String, JsonProperty>)>)>.) |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
|
GetClosestMatchProperty(String) |
Gets the closest matching JsonProperty object.
First attempts to get an exact case match of propertyName and then
a case insensitive match.
|
|
GetEnumerator()()()() |
Returns an enumerator that iterates through the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'JsonProperty>)>)>.) |
|
GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) |
|
GetKeyForItem(JsonProperty) |
When implemented in a derived class, extracts the key from the specified element.
(Overrides KeyedCollection<(Of <(<'String, JsonProperty>)>)>.GetKeyForItem(TItem).) |
|
GetProperty(String, StringComparison) |
Gets a property by property name.
|
|
GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) |
|
IndexOf(T) |
Searches for the specified object and returns the zero-based index of the first occurrence within the entire Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'JsonProperty>)>)>.) |
|
Insert(Int32, T) |
Inserts an element into the Collection<(Of <(<'T>)>)> at the specified index.
(Inherited from Collection<(Of <(<'JsonProperty>)>)>.) |
|
InsertItem(Int32, TItem) |
Inserts an element into the KeyedCollection<(Of <(<'TKey, TItem>)>)> at the specified index.
(Inherited from KeyedCollection<(Of <(<'String, JsonProperty>)>)>.) |
|
Item[([( TKey])]) |
Gets the element with the specified key.
(Inherited from KeyedCollection<(Of <(<'String, JsonProperty>)>)>.) |
|
Item[([( Int32])]) |
Gets or sets the element at the specified index.
(Inherited from Collection<(Of <(<'JsonProperty>)>)>.) |
|
Items |
Gets a IList<(Of <(<'T>)>)> wrapper around the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'JsonProperty>)>)>.) |
|
MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
|
Remove(TKey) |
Removes the element with the specified key from the KeyedCollection<(Of <(<'TKey, TItem>)>)>.
(Inherited from KeyedCollection<(Of <(<'String, JsonProperty>)>)>.) |
|
Remove(T) |
Removes the first occurrence of a specific object from the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'JsonProperty>)>)>.) |
|
RemoveAt(Int32) |
Removes the element at the specified index of the Collection<(Of <(<'T>)>)>.
(Inherited from Collection<(Of <(<'JsonProperty>)>)>.) |
|
RemoveItem(Int32) |
Removes the element at the specified index of the KeyedCollection<(Of <(<'TKey, TItem>)>)>.
(Inherited from KeyedCollection<(Of <(<'String, JsonProperty>)>)>.) |
|
SetItem(Int32, TItem) |
Replaces the item at the specified index with the specified item.
(Inherited from KeyedCollection<(Of <(<'String, JsonProperty>)>)>.) |
|
ToString()()()() | (Inherited from Object.) |
Inheritance Hierarchy
Object | |||
Collection < (Of < ( <' JsonProperty > ) > ) > | |||
KeyedCollection<(Of <(<'String, JsonProperty>)>)> | |||
JsonPropertyCollection |