FileIO.AppendTextAsync Méthode

Définition

Surcharges

AppendTextAsync(IStorageFile, String)

Ajoute du texte au fichier spécifié.

AppendTextAsync(IStorageFile, String, UnicodeEncoding)

Ajoute du texte au fichier spécifié à l’aide de l’encodage de caractères spécifié.

AppendTextAsync(IStorageFile, String)

Ajoute du texte au fichier spécifié.

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

Paramètres

file
IStorageFile

Fichier auquel le texte est ajouté.

contents
String

Platform::String

winrt::hstring

Texte à ajouter.

Retours

Aucun objet ou valeur n’est retourné lorsque cette méthode est terminée.

Attributs

Voir aussi

S’applique à

AppendTextAsync(IStorageFile, String, UnicodeEncoding)

Ajoute du texte au fichier spécifié à l’aide de l’encodage de caractères spécifié.

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

Paramètres

file
IStorageFile

Fichier auquel le texte est ajouté.

contents
String

Platform::String

winrt::hstring

Texte à ajouter.

encoding
UnicodeEncoding

Encodage de caractères du fichier.

Retours

Aucun objet ou valeur n’est retourné lorsque cette méthode est terminée.

Attributs

Voir aussi

S’applique à