Skip to content

Commit c1bf75d

Browse files
Jan JahodaJan Jahoda
andauthored
CookieCollection - update documentation (#4373)
Co-authored-by: Jan Jahoda <[email protected]>
1 parent 84f04cc commit c1bf75d

File tree

1 file changed

+35
-9
lines changed

1 file changed

+35
-9
lines changed

xml/System.Net/CookieCollection.xml

Lines changed: 35 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1004,10 +1004,28 @@ The comparison for <xref:System.Net.Cookie.Path%2A> is case-sensitive.
10041004
<Parameter Name="index" Type="System.Int32" Index="1" FrameworkAlternate="dotnet-uwp-10.0;netcore-1.0;netcore-1.1;netstandard-1.0;netstandard-1.1;netstandard-1.2;netstandard-1.3;netstandard-1.4;netstandard-1.6" />
10051005
</Parameters>
10061006
<Docs>
1007-
<param name="array">To be added.</param>
1008-
<param name="index">To be added.</param>
1009-
<summary>To be added.</summary>
1010-
<remarks>To be added.</remarks>
1007+
<param name="array">The target array to which the <see cref="T:System.Net.CookieCollection" /> will be copied.</param>
1008+
<param name="index">The zero-based index in the target array where copying begins.</param>
1009+
<summary>Copies the elements of a <see cref="T:System.Net.CookieCollection" /> to the specified array, starting at a particular index.</summary>
1010+
<remarks>
1011+
<format type="text/markdown"><![CDATA[
1012+
1013+
## Remarks
1014+
The <xref:System.Array>`array` parameter must be one-dimensional with zero-based indexing.
1015+
1016+
]]></format>
1017+
</remarks>
1018+
<exception cref="T:System.ArgumentNullException">
1019+
<paramref name="array" /> is <see langword="null" />.</exception>
1020+
<exception cref="T:System.ArgumentOutOfRangeException">
1021+
<paramref name="index" /> is less than zero.</exception>
1022+
<exception cref="T:System.ArgumentException">
1023+
<paramref name="array" /> is multidimensional.
1024+
1025+
-or-
1026+
1027+
The number of elements in this <see cref="T:System.Net.CookieCollection" /> is greater than the available space from <paramref name="index" /> to the end of the destination <paramref name="array" />.</exception>
1028+
<exception cref="T:System.InvalidCastException">The elements in this <see cref="T:System.Net.CookieCollection" /> cannot be cast automatically to the type of the destination <paramref name="array" />.</exception>
10111029
</Docs>
10121030
</Member>
10131031
<Member MemberName="System.Collections.ICollection.IsSynchronized">
@@ -1040,8 +1058,9 @@ The comparison for <xref:System.Net.Cookie.Path%2A> is case-sensitive.
10401058
<ReturnType>System.Boolean</ReturnType>
10411059
</ReturnValue>
10421060
<Docs>
1043-
<summary>To be added.</summary>
1044-
<value>To be added.</value>
1061+
<summary>Gets a value that indicates whether access to a <see cref="T:System.Net.CookieCollection" /> is thread safe.</summary>
1062+
<value>
1063+
<see langword="true" /> if access to the <see cref="T:System.Net.CookieCollection" /> is thread safe; otherwise, <see langword="false" />. The default is <see langword="false" />.</value>
10451064
<remarks>To be added.</remarks>
10461065
</Docs>
10471066
</Member>
@@ -1075,9 +1094,16 @@ The comparison for <xref:System.Net.Cookie.Path%2A> is case-sensitive.
10751094
<ReturnType>System.Object</ReturnType>
10761095
</ReturnValue>
10771096
<Docs>
1078-
<summary>To be added.</summary>
1079-
<value>To be added.</value>
1080-
<remarks>To be added.</remarks>
1097+
<summary>Gets an object to synchronize access to the <see cref="T:System.Net.CookieCollection" />.</summary>
1098+
<value>An object to synchronize access to the <see cref="T:System.Net.CookieCollection" />.</value>
1099+
<remarks>
1100+
<format type="text/markdown"><![CDATA[
1101+
1102+
## Remarks
1103+
The <xref:System.Net.CookieCollection.SyncRoot%2A> property returns an object that can be used to synchronize access to the <xref:System.Net.CookieCollection>.
1104+
1105+
]]></format>
1106+
</remarks>
10811107
</Docs>
10821108
</Member>
10831109
</Members>

0 commit comments

Comments
 (0)