Gets or sets the JToken with the specified property name.

Namespace: Newtonsoft.Json.Linq
Assembly: Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 4.5.0.0 (4.5.11.15729)

Syntax

C#
public JToken this[
	string propertyName
] { get; set; }
Visual Basic
Public Default Property Item ( _
	propertyName As String _
) As JToken
	Get
	Set
Visual C++
public:
virtual property JToken^ default[String^ propertyName] {
	JToken^ get (String^ propertyName) sealed;
	void set (String^ propertyName, JToken^ value) sealed;
}

Parameters

propertyName
Type: System..::..String

Field Value

Implements

IDictionary<(Of <(<'TKey, TValue>)>)>..::..Item[([( TKey])])

See Also