This documentation is archived and is not being maintained.

DelimitedListTraceListener.Delimiter Property

Note: This property is new in the .NET Framework version 2.0.

Gets or sets the delimiter for the delimited list.

Namespace: System.Diagnostics
Assembly: System (in system.dll)

public string Delimiter { get; set; }
/** @property */
public String get_Delimiter ()

/** @property */
public void set_Delimiter (String value)

public function get Delimiter () : String

public function set Delimiter (value : String)

Property Value

The delimiter for the delimited list.

Exception typeCondition


Delimiter is set to a null reference (Nothing in Visual Basic).


Delimiter is set to an empty string ("").

The default delimiter is ";" (semicolon). The following configuration file example shows the setting of the Delimiter property using the delimiter attribute in a configuration file:

    <trace autoflush="false" indentsize="4">
        <add name="delimitedListener" 
          traceOutputOptions="ProcessId, DateTime" />
        <remove name="Default" />

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0