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
<paramname="cancellationToken">To be added.</param>
1225
-
<summary>To be added.</summary>
1226
-
<returns>To be added.</returns>
1224
+
<paramname="cancellationToken">The token to monitor for cancellation requests. The default value is <seecref="P:System.Threading.CancellationToken.None" />.</param>
1225
+
<summary>Asynchronously clears buffers for this stream and causes any buffered data to be written to the file.</summary>
1226
+
<returns>A task that represents the asynchronous flush operation.</returns>
1227
1227
<remarks>To be added.</remarks>
1228
1228
</Docs>
1229
1229
</Member>
@@ -1521,9 +1521,9 @@ Dim source As New IsolatedStorageFileStream(UserName,FileMode.Open,isoFile)
<paramname="buffer">The buffer to write the data into.</param>
1525
+
<summary>Copies bytes from the current buffered <seecref="T:System.IO.IsolatedStorage.IsolatedStorageFileStream" /> object to a byte span.</summary>
1526
+
<returns>The total number of bytes read into the <paramrefname="buffer" />. This can be less than the number of bytes requested if that many bytes are not currently available, or zero if the end of the stream is reached.</returns>
1527
1527
<remarks>To be added.</remarks>
1528
1528
</Docs>
1529
1529
</Member>
@@ -1562,22 +1562,25 @@ Dim source As New IsolatedStorageFileStream(UserName,FileMode.Open,isoFile)
1562
1562
<ParameterName="count"Type="System.Int32" />
1563
1563
</Parameters>
1564
1564
<Docs>
1565
-
<paramname="buffer">The buffer to read.</param>
1565
+
<paramname="buffer">The buffer to write the data into.</param>
1566
1566
<paramname="offset">The offset in the buffer at which to begin writing.</param>
1567
1567
<paramname="count">The maximum number of bytes to read.</param>
1568
-
<summary>Copies bytes from the current buffered <seecref="T:System.IO.IsolatedStorage.IsolatedStorageFileStream" /> object to an array.</summary>
1568
+
<summary>Copies bytes from the current buffered <seecref="T:System.IO.IsolatedStorage.IsolatedStorageFileStream" /> object to a byte array.</summary>
1569
1569
<returns>The total number of bytes read into the <paramrefname="buffer" />. This can be less than the number of bytes requested if that many bytes are not currently available, or zero if the end of the stream is reached.</returns>
1570
1570
<remarks>
1571
1571
<formattype="text/markdown"><![CDATA[
1572
-
1573
-
## Remarks
1574
-
The `buffer` parameter can be an instance of the <xref:System.Buffer> class, or an array of one of the following types: <xref:System.Byte>, <xref:System.SByte>, <xref:System.Char>, <xref:System.Int16>, <xref:System.Int32>, <xref:System.Int64>, <xref:System.UInt16>, <xref:System.UInt32>, <xref:System.UInt64>, <xref:System.Single>, or <xref:System.Double>. The `offset` parameter gives the offset of the byte in buffer at which to begin writing (index in the buffer), and the `count` parameter gives the maximum number of bytes that will be read from this stream. The returned value is the actual number of bytes read, or zero if the end of the stream is reached. If the read operation is successful, the current position of the stream is advanced by the number of bytes read. If an exception occurs, the current position of the stream is unchanged.
1575
-
1576
-
The <xref:System.IO.IsolatedStorage.IsolatedStorageFileStream.Read%2A> method treats the `buffer` parameter as a block of bytes, regardless of its actual type. Likewise, the `offset` and `count` parameters are always specified in bytes. For `buffer` parameters other than byte arrays, this means that an element index must be multiplied by the element size in bytes to form a correct value for `offset` or `count`.
1577
-
1578
-
The <xref:System.IO.IsolatedStorage.IsolatedStorageFileStream.Read%2A> method will return zero only if the end of the stream is reached. In all other cases, <xref:System.IO.IsolatedStorage.IsolatedStorageFileStream.Read%2A> always reads at least one byte from the stream before returning. If no data is available from the <xref:System.IO.IsolatedStorage.IsolatedStorageFileStream> object upon a call to <xref:System.IO.IsolatedStorage.IsolatedStorageFileStream.Read%2A>, the method will block until at least one byte of data can be returned.
1579
-
1580
-
]]></format>
1572
+
1573
+
## Remarks
1574
+
1575
+
The `buffer` parameter can be an instance of the <xref:System.Buffer> class, or an array of one of the following types: <xref:System.Byte>, <xref:System.SByte>, <xref:System.Char>, <xref:System.Int16>, <xref:System.Int32>, <xref:System.Int64>, <xref:System.UInt16>, <xref:System.UInt32>, <xref:System.UInt64>, <xref:System.Single>, or <xref:System.Double>.
1576
+
1577
+
If the read operation is successful, the current position of the stream is advanced by the number of bytes read. If an exception occurs, the current position of the stream is unchanged.
1578
+
1579
+
The <xref:System.IO.IsolatedStorage.IsolatedStorageFileStream.Read%2A> method treats the `buffer` parameter as a block of bytes, regardless of its actual type. Likewise, the `offset` and `count` parameters are always specified in bytes. For `buffer` parameters other than byte arrays, this means that an element index or the number of elements must be multiplied by the element size in bytes to form a correct value for `offset` or `count`.
1580
+
1581
+
The <xref:System.IO.IsolatedStorage.IsolatedStorageFileStream.Read%2A> method will return zero only if the end of the stream is reached. In all other cases, <xref:System.IO.IsolatedStorage.IsolatedStorageFileStream.Read%2A> always reads at least one byte from the stream before returning. If no data is available from the <xref:System.IO.IsolatedStorage.IsolatedStorageFileStream> object upon a call to <xref:System.IO.IsolatedStorage.IsolatedStorageFileStream.Read%2A>, the method will block until at least one byte of data can be returned.
1582
+
1583
+
]]></format>
1581
1584
</remarks>
1582
1585
</Docs>
1583
1586
</Member>
@@ -1605,10 +1608,10 @@ Dim source As New IsolatedStorageFileStream(UserName,FileMode.Open,isoFile)
<paramname="cancellationToken">To be added.</param>
1610
-
<summary>To be added.</summary>
1611
-
<returns>To be added.</returns>
1611
+
<paramname="buffer">The buffer to write the data into.</param>
1612
+
<paramname="cancellationToken">The token to monitor for cancellation requests. The default value is <seecref="P:System.Threading.CancellationToken.None" />.</param>
1613
+
<summary>Asynchronously copies bytes from the current buffered <seecref="T:System.IO.IsolatedStorage.IsolatedStorageFileStream" /> object to a byte memory range.</summary>
1614
+
<returns>A task that represents the asynchronous read operation. It wraps the total number of bytes read into the <paramrefname="buffer" />. This can be less than the number of bytes requested if that many bytes are not currently available, or zero if the end of the stream is reached.</returns>
1612
1615
<remarks>To be added.</remarks>
1613
1616
</Docs>
1614
1617
</Member>
@@ -1640,13 +1643,27 @@ Dim source As New IsolatedStorageFileStream(UserName,FileMode.Open,isoFile)
<paramname="cancellationToken">To be added.</param>
1647
-
<summary>To be added.</summary>
1648
-
<returns>To be added.</returns>
1649
-
<remarks>To be added.</remarks>
1646
+
<paramname="buffer">The buffer to write the data into.</param>
1647
+
<paramname="offset">The offset in the buffer at which to begin writing.</param>
1648
+
<paramname="count">The maximum number of bytes to read.</param>
1649
+
<paramname="cancellationToken">The token to monitor for cancellation requests. The default value is <seecref="P:System.Threading.CancellationToken.None" />.</param>
1650
+
<summary>Asynchronously copies bytes from the current buffered <seecref="T:System.IO.IsolatedStorage.IsolatedStorageFileStream" /> object to a byte array.</summary>
1651
+
<returns>A task that represents the asynchronous read operation. It wraps the total number of bytes read into the <paramrefname="buffer" />. This can be less than the number of bytes requested if that many bytes are not currently available, or zero if the end of the stream is reached.</returns>
1652
+
<remarks>
1653
+
<formattype="text/markdown"><![CDATA[
1654
+
1655
+
## Remarks
1656
+
1657
+
The `buffer` parameter can be an instance of the <xref:System.Buffer> class, or an array of one of the following types: <xref:System.Byte>, <xref:System.SByte>, <xref:System.Char>, <xref:System.Int16>, <xref:System.Int32>, <xref:System.Int64>, <xref:System.UInt16>, <xref:System.UInt32>, <xref:System.UInt64>, <xref:System.Single>, or <xref:System.Double>.
1658
+
1659
+
If the read operation is successful, the current position of the stream is advanced by the number of bytes read. If an exception occurs, the current position of the stream is unchanged.
1660
+
1661
+
The <xref:System.IO.IsolatedStorage.IsolatedStorageFileStream.ReadAsync%2A> method treats the `buffer` parameter as a block of bytes, regardless of its actual type. Likewise, the `offset` and `count` parameters are always specified in bytes. For `buffer` parameters other than byte arrays, this means that an element index or the number of elements must be multiplied by the element size in bytes to form a correct value for `offset` or `count`.
1662
+
1663
+
The <xref:System.IO.IsolatedStorage.IsolatedStorageFileStream.ReadAsync%2A> method will return zero only if the end of the stream is reached. In all other cases, <xref:System.IO.IsolatedStorage.IsolatedStorageFileStream.ReadAsync%2A> always reads at least one byte from the stream before returning. If no data is available from the <xref:System.IO.IsolatedStorage.IsolatedStorageFileStream> object upon a call to <xref:System.IO.IsolatedStorage.IsolatedStorageFileStream.ReadAsync%2A>, the method will block until at least one byte of data can be returned.
1664
+
1665
+
]]></format>
1666
+
</remarks>
1650
1667
</Docs>
1651
1668
</Member>
1652
1669
<MemberMemberName="ReadByte">
@@ -1913,8 +1930,8 @@ Dim source As New IsolatedStorageFileStream(UserName,FileMode.Open,isoFile)
<paramname="buffer">The read-only byte span from which to copy bytes to the current isolated storage file stream.</param>
1934
+
<summary>Writes a block of bytes to the isolated storage file stream object using data read from a buffer consisting of a read-only byte span.</summary>
1918
1935
<remarks>To be added.</remarks>
1919
1936
</Docs>
1920
1937
</Member>
@@ -1958,17 +1975,18 @@ Dim source As New IsolatedStorageFileStream(UserName,FileMode.Open,isoFile)
1958
1975
<ParameterName="count"Type="System.Int32" />
1959
1976
</Parameters>
1960
1977
<Docs>
1961
-
<paramname="buffer">The buffer to write.</param>
1962
-
<paramname="offset">The byte offset in buffer from which to begin.</param>
1978
+
<paramname="buffer">The byte array from which to copy bytes to the current isolated storage file stream.</param>
1979
+
<paramname="offset">The byte offset in <paramrefname="buffer" /> from which to begin.</param>
1963
1980
<paramname="count">The maximum number of bytes to write.</param>
1964
-
<summary>Writes a block of bytes to the <seecref="T:System.IO.IsolatedStorage.IsolatedStorageFileStream" /> object using data read from a byte array.</summary>
1981
+
<summary>Writes a block of bytes to the isolated storage file stream object using data read from a buffer consisting of a byte array.</summary>
1965
1982
<remarks>
1966
1983
<formattype="text/markdown"><![CDATA[
1967
-
1968
-
## Remarks
1969
-
The `offset` parameter gives the offset of the byte in the `buffer` at which to begin reading, and the `count` parameter gives the number of bytes that will be written to this <xref:System.IO.IsolatedStorage.IsolatedStorageFileStream> object. If the write operation is successful, the current position of the <xref:System.IO.IsolatedStorage.IsolatedStorageFileStream> object is advanced by the number of bytes written. If an exception occurs, the current position of the <xref:System.IO.IsolatedStorage.IsolatedStorageFileStream> object is unchanged.
1970
-
1971
-
]]></format>
1984
+
1985
+
## Remarks
1986
+
1987
+
If the write operation is successful, the current position of the <xref:System.IO.IsolatedStorage.IsolatedStorageFileStream> object is advanced by the number of bytes written. If an exception occurs, the current position of the <xref:System.IO.IsolatedStorage.IsolatedStorageFileStream> object is unchanged.
1988
+
1989
+
]]></format>
1972
1990
</remarks>
1973
1991
<exceptioncref="T:System.IO.IsolatedStorage.IsolatedStorageException">The write attempt exceeds the quota for the <seecref="T:System.IO.IsolatedStorage.IsolatedStorageFileStream" /> object.</exception>
1974
1992
</Docs>
@@ -1997,10 +2015,10 @@ Dim source As New IsolatedStorageFileStream(UserName,FileMode.Open,isoFile)
<paramname="cancellationToken">To be added.</param>
2002
-
<summary>To be added.</summary>
2003
-
<returns>To be added.</returns>
2018
+
<paramname="buffer">The read-only byte memory from which to copy bytes to the current isolated storage file stream.</param>
2019
+
<paramname="cancellationToken">The token to monitor for cancellation requests. The default value is <seecref="P:System.Threading.CancellationToken.None" />.</param>
2020
+
<summary>Asynchronously writes a block of bytes to the isolated storage file stream object using data read from a buffer consisting of a read-only byte memory range.</summary>
2021
+
<returns>A task that represents the asynchronous write operation.</returns>
2004
2022
<remarks>To be added.</remarks>
2005
2023
</Docs>
2006
2024
</Member>
@@ -2032,13 +2050,21 @@ Dim source As New IsolatedStorageFileStream(UserName,FileMode.Open,isoFile)
<paramname="cancellationToken">To be added.</param>
2039
-
<summary>To be added.</summary>
2040
-
<returns>To be added.</returns>
2041
-
<remarks>To be added.</remarks>
2053
+
<paramname="buffer">The byte array from which to copy bytes to the current isolated storage file stream.</param>
2054
+
<paramname="offset">The byte offset in <paramrefname="buffer" /> from which to begin.</param>
2055
+
<paramname="count">The maximum number of bytes to write.</param>
2056
+
<paramname="cancellationToken">The token to monitor for cancellation requests. The default value is <seecref="P:System.Threading.CancellationToken.None" />.</param>
2057
+
<summary>Asynchronously writes a block of bytes to the isolated storage file stream object using data read from a buffer consisting of a byte array.</summary>
2058
+
<returns>A task that represents the asynchronous write operation.</returns>
2059
+
<remarks>
2060
+
<formattype="text/markdown"><![CDATA[
2061
+
2062
+
## Remarks
2063
+
2064
+
If the write operation is successful, the current position of the <xref:System.IO.IsolatedStorage.IsolatedStorageFileStream> object is advanced by the number of bytes written. If an exception occurs, the current position of the <xref:System.IO.IsolatedStorage.IsolatedStorageFileStream> object is unchanged.
2065
+
2066
+
]]></format>
2067
+
</remarks>
2042
2068
</Docs>
2043
2069
</Member>
2044
2070
<MemberMemberName="WriteByte">
@@ -2097,4 +2123,4 @@ Dim source As New IsolatedStorageFileStream(UserName,FileMode.Open,isoFile)
0 commit comments