TextInfo.ListSeparator 属性

定义

获取或设置在列表中分隔项的字符串。Gets or sets the string that separates items in a list.

public:
 virtual property System::String ^ ListSeparator { System::String ^ get(); void set(System::String ^ value); };
public:
 property System::String ^ ListSeparator { System::String ^ get(); void set(System::String ^ value); };
public:
 virtual property System::String ^ ListSeparator { System::String ^ get(); };
public virtual string ListSeparator { get; set; }
public string ListSeparator { get; set; }
public virtual string ListSeparator { get; }
[set: System.Runtime.InteropServices.ComVisible(false)]
public virtual string ListSeparator { get; set; }
member this.ListSeparator : string with get, set
member this.ListSeparator : string
[<set: System.Runtime.InteropServices.ComVisible(false)>]
member this.ListSeparator : string with get, set
Public Overridable Property ListSeparator As String
Public Property ListSeparator As String
Public Overridable ReadOnly Property ListSeparator As String

属性值

String

在列表中分隔项的字符串。The string that separates items in a list.

属性

例外

设置操作中的值为 null。The value in a set operation is null.

在设置操作中,当前的 TextInfo 对象是只读的。In a set operation, the current TextInfo object is read-only.

适用于