ToDelimitedList(T) Method (IEnumerable(T))

MS Activities Extensions

Collapse imageExpand ImageCopy imageCopyHover image
Converts a list of objects to a comma delimited string

Namespace: Microsoft.Activities.Extensions.Tracking
Assembly: Microsoft.Activities.Extensions (in Microsoft.Activities.Extensions.dll) Version: 2.0.6.9 (2.0.6.9)

Syntax

C#
public static string ToDelimitedList<T>(
	this IEnumerable<T> objects
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function ToDelimitedList(Of T) ( _
	objects As IEnumerable(Of T) _
) As String
Visual C++
public:
[ExtensionAttribute]
generic<typename T>
static String^ ToDelimitedList(
	IEnumerable<T>^ objects
)

Parameters

objects
Type: System.Collections.Generic..::..IEnumerable<(Of <(<'T>)>)>
The records.

Type Parameters

T
The type

Return Value

The delimited list.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerable<(Of <(<'T>)>)>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also