PathIO.AppendTextAsync メソッド

定義

オーバーロード

AppendTextAsync(String, String)

指定したパスまたは UNIFORM Resource Identifier (URI) にあるファイルにテキストを追加します。

AppendTextAsync(String, String, UnicodeEncoding)

指定した文字エンコードを使用して、指定したパスまたは URI (Uniform Resource Identifier) のファイルにテキストを追加します。

AppendTextAsync(String, String)

指定したパスまたは UNIFORM Resource Identifier (URI) にあるファイルにテキストを追加します。

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

パラメーター

absolutePath
String

Platform::String

winrt::hstring

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

contents
String

Platform::String

winrt::hstring

追加するテキスト。

戻り値

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

属性

こちらもご覧ください

適用対象

AppendTextAsync(String, String, UnicodeEncoding)

指定した文字エンコードを使用して、指定したパスまたは URI (Uniform Resource Identifier) のファイルにテキストを追加します。

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

パラメーター

absolutePath
String

Platform::String

winrt::hstring

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

contents
String

Platform::String

winrt::hstring

追加するテキスト。

encoding
UnicodeEncoding

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

戻り値

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

属性

こちらもご覧ください

適用対象