DevForce Help Reference
WriteTextFile(String,String) Method


The file to write to
A string to write to the file
Write a string into a file either creating the file or replacing its current contents
Syntax
'Declaration
 
Public Overloads Shared Sub WriteTextFile( _
   ByVal pFileName As String, _
   ByVal pContents As String _
) 
'Usage
 
Dim pFileName As String
Dim pContents As String
 
FileFns.WriteTextFile(pFileName, pContents)
public static void WriteTextFile( 
   string pFileName,
   string pContents
)

Parameters

pFileName
The file to write to
pContents
A string to write to the file
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

FileFns Class
FileFns Members
Overload List

Send Feedback