Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ListSeparator Property
Collapse the table of content
Expand the table of content

TextInfo.ListSeparator Property

Gets or sets the string that separates items in a list.

Namespace:  System.Globalization
Assembly:  mscorlib (in mscorlib.dll)

public virtual string ListSeparator { get; set; }

Property Value

Type: System.String
The string that separates items in a list.

ExceptionCondition
ArgumentNullException

The value in a set operation is null.

InvalidOperationException

In a set operation, the current TextInfo object is read-only.

On the Macintosh, the default value of this property is always a comma (,) regardless of the culture.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2015 Microsoft