Επεξεργασία

Κοινή χρήση μέσω


File.AppendAllLines Method

Definition

Overloads

AppendAllLines(String, IEnumerable<String>)
AppendAllLines(String, IEnumerable<String>, Encoding)

AppendAllLines(String, IEnumerable<String>)

public:
 static void AppendAllLines(System::String ^ path, System::Collections::Generic::IEnumerable<System::String ^> ^ contents);
public static void AppendAllLines (string path, System.Collections.Generic.IEnumerable<string> contents);
static member AppendAllLines : string * seq<string> -> unit
Public Shared Sub AppendAllLines (path As String, contents As IEnumerable(Of String))

Parameters

path
String
contents
IEnumerable<String>

Applies to

AppendAllLines(String, IEnumerable<String>, Encoding)

public:
 static void AppendAllLines(System::String ^ path, System::Collections::Generic::IEnumerable<System::String ^> ^ contents, System::Text::Encoding ^ encoding);
public static void AppendAllLines (string path, System.Collections.Generic.IEnumerable<string> contents, System.Text.Encoding encoding);
static member AppendAllLines : string * seq<string> * System.Text.Encoding -> unit
Public Shared Sub AppendAllLines (path As String, contents As IEnumerable(Of String), encoding As Encoding)

Parameters

path
String
contents
IEnumerable<String>
encoding
Encoding

Applies to