DelimitedListTraceListener.Delimiter 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 the delimiter for the delimited list.
public:
property System::String ^ Delimiter { System::String ^ get(); void set(System::String ^ value); };
public string Delimiter { get; set; }
member this.Delimiter : string with get, set
Public Property Delimiter As String
Property Value
The delimiter for the delimited list.
Exceptions
Delimiter is set to null
.
Delimiter is set to an empty string ("").
Remarks
The default delimiter is ";" (semicolon).
The following configuration file example shows how to set the Delimiter property using the delimiter
attribute in a configuration file for a .NET Framework app:
<configuration>
<system.diagnostics>
<trace autoflush="false" indentsize="4">
<listeners>
<add name="delimitedListener"
type="System.Diagnostics.DelimitedListTraceListener"
delimiter=":"
initializeData="delimitedOutput.txt"
traceOutputOptions="ProcessId, DateTime" />
<remove name="Default" />
</listeners>
</trace>
</system.diagnostics>
</configuration>
Applies to
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.