PathIO.AppendTextAsync Méthode

Définition

Surcharges

AppendTextAsync(String, String)

Ajoute du texte au fichier au niveau du chemin d’accès ou de l’URI spécifié.

AppendTextAsync(String, String, UnicodeEncoding)

Ajoute du texte au fichier au niveau du chemin d’accès ou de l’URI (Uniform Resource Identifier) spécifié à l’aide de l’encodage de caractères spécifié.

AppendTextAsync(String, String)

Ajoute du texte au fichier au niveau du chemin d’accès ou de l’URI spécifié.

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

Paramètres

absolutePath
String

Platform::String

winrt::hstring

Chemin du 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(String, String, UnicodeEncoding)

Ajoute du texte au fichier au niveau du chemin d’accès ou de l’URI (Uniform Resource Identifier) spécifié à l’aide de l’encodage de caractères spécifié.

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

Paramètres

absolutePath
String

Platform::String

winrt::hstring

Chemin du 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 à