System.IO.__DebugOutputTextWriter.WriteLine C# (CSharp) Méthode

WriteLine() public méthode

public WriteLine ( String str ) : void
str String
Résultat void
        public override void WriteLine(String str)
        {
            if (str != null)
                OutputDebugString(_consoleType + str);
            else
                OutputDebugString("<null>");
            OutputDebugString(new String(CoreNewLine));
        }

Usage Example

Exemple #1
0
 private static TextWriter MakeDebugOutputTextWriter(String streamLabel) 
 {
     TextWriter output = new __DebugOutputTextWriter(streamLabel); 
     output.WriteLine("Output redirected to debugger from a bit bucket."); 
     return TextWriter.Synchronized(output);
 }