FileIO.AppendTextAsync メソッド

定義

オーバーロード

AppendTextAsync(IStorageFile, String)

指定したファイルにテキストを追加します。

AppendTextAsync(IStorageFile, String, UnicodeEncoding)

指定した文字エンコードを使用して、指定したファイルにテキストを追加します。

AppendTextAsync(IStorageFile, String)

指定したファイルにテキストを追加します。

public:
 static IAsyncAction ^ AppendTextAsync(IStorageFile ^ file, Platform::String ^ contents);
/// [Windows.Foundation.Metadata.Overload("AppendTextAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncAction AppendTextAsync(IStorageFile const& file, winrt::hstring const& contents);
[Windows.Foundation.Metadata.Overload("AppendTextAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncAction AppendTextAsync(IStorageFile file, string contents);
function appendTextAsync(file, contents)
Public Shared Function AppendTextAsync (file As IStorageFile, contents As String) As IAsyncAction

パラメーター

file
IStorageFile

テキストが追加されるファイル。

contents
String

Platform::String

winrt::hstring

追加するテキスト。

戻り値

このメソッドが完了すると、オブジェクトまたは値は返されません。

属性

こちらもご覧ください

適用対象

AppendTextAsync(IStorageFile, String, UnicodeEncoding)

指定した文字エンコードを使用して、指定したファイルにテキストを追加します。

public:
 static IAsyncAction ^ AppendTextAsync(IStorageFile ^ file, Platform::String ^ contents, UnicodeEncoding encoding);
/// [Windows.Foundation.Metadata.Overload("AppendTextWithEncodingAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncAction AppendTextAsync(IStorageFile const& file, winrt::hstring const& contents, UnicodeEncoding const& encoding);
[Windows.Foundation.Metadata.Overload("AppendTextWithEncodingAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncAction AppendTextAsync(IStorageFile file, string contents, UnicodeEncoding encoding);
function appendTextAsync(file, contents, encoding)
Public Shared Function AppendTextAsync (file As IStorageFile, contents As String, encoding As UnicodeEncoding) As IAsyncAction

パラメーター

file
IStorageFile

テキストが追加されるファイル。

contents
String

Platform::String

winrt::hstring

追加するテキスト。

encoding
UnicodeEncoding

ファイルの文字エンコード。

戻り値

このメソッドが完了すると、オブジェクトまたは値は返されません。

属性

こちらもご覧ください

適用対象