You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<paramrefname="index" /> or <paramrefname="count" /> is less than 0.</exception>
704
+
<exceptioncref="T:System.ArgumentException">
705
+
<paramrefname="index" /> and <paramrefname="count" /> do not denote a valid range of elements in the <seecref="T:System.Text.Json.Nodes.JsonArray" />.</exception>
@@ -838,6 +844,7 @@ This member is an explicit interface member implementation. It can be used only
838
844
<summary>Writes the <seecref="T:System.Text.Json.Nodes.JsonNode" /> into the provided <seecref="T:System.Text.Json.Utf8JsonWriter" /> as JSON.</summary>
839
845
<remarks>To be added.</remarks>
840
846
<exceptioncref="T:System.ArgumentNullException">The <paramrefname="writer" /> parameter is <seelangword="null" />.</exception>
@@ -289,6 +289,7 @@ The underlying value of a <xref:System.Text.Json.Nodes.JsonValue> after deserial
289
289
</remarks>
290
290
<exceptioncref="T:System.FormatException">The current <seecref="T:System.Text.Json.Nodes.JsonNode" /> cannot be represented as a {TValue}.</exception>
291
291
<exceptioncref="T:System.InvalidOperationException">The current <seecref="T:System.Text.Json.Nodes.JsonNode" /> is not a <seecref="T:System.Text.Json.Nodes.JsonValue" /> or is not compatible with {TValue}.</exception>
Copy file name to clipboardExpand all lines: xml/System.Text.Json.Nodes/JsonObject.xml
+28-14Lines changed: 28 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -1030,11 +1030,14 @@ This member is an explicit interface member implementation. It can be used only
1030
1030
</Parameter>
1031
1031
</Parameters>
1032
1032
<Docs>
1033
-
<paramname="propertyName">To be added.</param>
1034
-
<paramname="value">To be added.</param>
1035
-
<summary>To be added.</summary>
1036
-
<returns>To be added.</returns>
1033
+
<paramname="propertyName">The property name of the element to add.</param>
1034
+
<paramname="value">The value of the element to add.</param>
1035
+
<summary>Adds an element with the provided name and value to the <seecref="T:System.Text.Json.Nodes.JsonObject" />, if a property named <paramrefname="propertyName" /> doesn't already exist.</summary>
1036
+
<returns>
1037
+
<seelangword="true" /> if the property didn't exist and the element was added; otherwise, <seelangword="false" />.</returns>
1037
1038
<remarks>To be added.</remarks>
1039
+
<exceptioncref="T:System.ArgumentNullException">
1040
+
<paramrefname="propertyName" /> is <seelangword="null" />.</exception>
1038
1041
</Docs>
1039
1042
</Member>
1040
1043
<MemberMemberName="TryAdd">
@@ -1065,12 +1068,15 @@ This member is an explicit interface member implementation. It can be used only
<paramname="propertyName">The property name of the element to add.</param>
1072
+
<paramname="value">The value of the element to add.</param>
1073
+
<paramname="index">The index of the added or existing <paramrefname="propertyName" />. This is always a valid index into the <seecref="T:System.Text.Json.Nodes.JsonObject" />.</param>
1074
+
<summary>Adds an element with the provided name and value to the <seecref="T:System.Text.Json.Nodes.JsonObject" />, if a property named <paramrefname="propertyName" /> doesn't already exist.</summary>
1075
+
<returns>
1076
+
<seelangword="true" /> if the property didn't exist and the element was added; otherwise, <seelangword="false" />.</returns>
1073
1077
<remarks>To be added.</remarks>
1078
+
<exceptioncref="T:System.ArgumentNullException">
1079
+
<paramrefname="propertyName" /> is <seelangword="null" />.</exception>
1074
1080
</Docs>
1075
1081
</Member>
1076
1082
<MemberMemberName="TryGetPropertyValue">
@@ -1110,6 +1116,8 @@ This member is an explicit interface member implementation. It can be used only
1110
1116
<returns>
1111
1117
<seelangword="true" /> if a property with the specified name was found; otherwise, <seelangword="false" />.</returns>
1112
1118
<remarks>To be added.</remarks>
1119
+
<exceptioncref="T:System.ArgumentNullException">
1120
+
<paramrefname="propertyName" /> is <seelangword="null" />.</exception>
1113
1121
</Docs>
1114
1122
</Member>
1115
1123
<MemberMemberName="TryGetPropertyValue">
@@ -1140,12 +1148,17 @@ This member is an explicit interface member implementation. It can be used only
<paramname="propertyName">The property name of the value to get.</param>
1152
+
<paramname="jsonNode">
1153
+
<para>When this method returns, it contains the value associated with the specified property name, if the property name is found; otherwise <seelangword="null" />.</para>
1154
+
</param>
1155
+
<paramname="index">The index of <paramrefname="propertyName" /> if found; otherwise, -1.</param>
1156
+
<summary>Gets the value associated with the specified property name.</summary>
1157
+
<returns>
1158
+
<seelangword="true" /> if the <seecref="T:System.Text.Json.Nodes.JsonObject" /> contains an element with the specified property name; otherwise, <seelangword="false" />.</returns>
1148
1159
<remarks>To be added.</remarks>
1160
+
<exceptioncref="T:System.ArgumentNullException">
1161
+
<paramrefname="propertyName" /> is <seelangword="null" />.</exception>
1149
1162
</Docs>
1150
1163
</Member>
1151
1164
<MemberMemberName="WriteTo">
@@ -1183,6 +1196,7 @@ This member is an explicit interface member implementation. It can be used only
1183
1196
<summary>Writes the <seecref="T:System.Text.Json.Nodes.JsonNode" /> into the provided <seecref="T:System.Text.Json.Utf8JsonWriter" /> as JSON.</summary>
1184
1197
<remarks>To be added.</remarks>
1185
1198
<exceptioncref="T:System.ArgumentNullException">The <paramrefname="writer" /> parameter is <seelangword="null" />.</exception>
Copy file name to clipboardExpand all lines: xml/System.Text.Json.Serialization/JsonKnownReferenceHandler.xml
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@
13
13
<BaseTypeName>System.Enum</BaseTypeName>
14
14
</Base>
15
15
<Docs>
16
-
<summary>To be added.</summary>
16
+
<summary>The <seecref="T:System.Text.Json.Serialization.ReferenceHandler" /> to be used at run time.</summary>
17
17
<remarks>To be added.</remarks>
18
18
</Docs>
19
19
<Members>
@@ -34,7 +34,7 @@
34
34
</ReturnValue>
35
35
<MemberValue>2</MemberValue>
36
36
<Docs>
37
-
<summary>To be added.</summary>
37
+
<summary>Specifies that the built-in <seecref="P:System.Text.Json.Serialization.ReferenceHandler.IgnoreCycles" /> be used to ignore cyclic references.</summary>
38
38
</Docs>
39
39
</Member>
40
40
<MemberMemberName="Preserve">
@@ -54,7 +54,7 @@
54
54
</ReturnValue>
55
55
<MemberValue>1</MemberValue>
56
56
<Docs>
57
-
<summary>To be added.</summary>
57
+
<summary>Specifies that the built-in <seecref="P:System.Text.Json.Serialization.ReferenceHandler.Preserve" /> be used to handle references.</summary>
58
58
</Docs>
59
59
</Member>
60
60
<MemberMemberName="Unspecified">
@@ -74,7 +74,7 @@
74
74
</ReturnValue>
75
75
<MemberValue>0</MemberValue>
76
76
<Docs>
77
-
<summary>To be added.</summary>
77
+
<summary>Specifies that circular references should throw exceptions.</summary>
0 commit comments