WstFile.CreateText Method
[This is internal Microsoft documentation - Do not distribute.]
Creates or opens a file for writing UTF-8 encoded text.
Namespace: Microsoft.Webstore.WstClient
Assembly: ICL (in icl.dll)
Syntax
'Declaration
Public Shared Function CreateText ( _
context As WstContext, _
path As String _
) As StreamWriter
public static StreamWriter CreateText (
WstContext context,
string path
)
Parameters
- context
Webstore context
- path
The file to be opened for writing (relative to Webstore context).
Return Value
A StreamWriter that writes to the specified file using UTF-8 encoding.
Thread Safety
All public static (Shared in Visual Basic) members of this type are thread-safe. Instance members are not guaranteed to be thread-safe.
Platforms
Development Platforms
Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition
Target Platforms
See Also
Reference
WstFile Class
WstFile Members
Microsoft.Webstore.WstClient Namespace