Version

ToString(String) Method

Returns the DisplayText of each ValueListItem in this collection, with each entry except for the last followed by the specified listSeparator.
Syntax
'Declaration
 
Public Overloads Function ToString( _
   ByVal listSeparator As String _
) As String
public string ToString( 
   string listSeparator
)

Parameters

listSeparator
The string to be appended after each entry, except for the last one.

Return Value

The string representation of this instance, based on the contents of the collection.
Remarks

This overload returns the same string that is built by the EditorWithCombo embeddable editor to depict its value when the EditorValueSource property is set to 'CheckedItems'.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also