PathIO.WriteBufferAsync(String, IBuffer) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Writes data from a buffer to the file at the specified path or Uniform Resource Identifier (URI).
public:
static IAsyncAction ^ WriteBufferAsync(Platform::String ^ absolutePath, IBuffer ^ buffer);
/// [Windows.Foundation.Metadata.RemoteAsync]
static IAsyncAction WriteBufferAsync(winrt::hstring const& absolutePath, IBuffer const& buffer);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncAction WriteBufferAsync(string absolutePath, IBuffer buffer);
function writeBufferAsync(absolutePath, buffer)
Public Shared Function WriteBufferAsync (absolutePath As String, buffer As IBuffer) As IAsyncAction
Parameters
- absolutePath
-
String
Platform::String
winrt::hstring
The path of the file that the data is written to.
- buffer
- IBuffer
The buffer that contains the data to write.
Returns
No object or value is returned when this method completes.
- Attributes
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for