示例#1
0
 /// <summary>
 /// Creates the text.
 /// </summary>
 /// <returns>A new <see cref="StreamWriter"/>.</returns>
 /// <exception cref="IOException">An I/O error occurred while opening the file.</exception>
 /// <exception cref="SecurityException">The caller does not have the required permission.</exception>
 /// <exception cref="UnauthorizedAccessException">
 /// This operation is not supported on the current platform.
 ///     <para>-or-</para>
 /// The caller does not have the required permission.
 /// </exception>
 public StreamWriter CreateText()
 {
     return(LongPathFile.CreateText(this.NormalizedPath));
 }