TraceListener.NeedIndent Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value indicating whether to indent the output.
protected:
property bool NeedIndent { bool get(); void set(bool value); };
protected bool NeedIndent { get; set; }
member this.NeedIndent : bool with get, set
Protected Property NeedIndent As Boolean
Property Value
true
if the output should be indented; otherwise, false
.
Remarks
Note The WriteIndent method, called by the DefaultTraceListener and TextWriterTraceListener classes, sets the NeedIndent property value to false
to prevent later, unnecessary indents. You must set the NeedIndent property to true
each time you wish to indent trace output.
Applies to
See also
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για