Extensions.ToJSON<T> Method (IList<T>) CTCT Wrapper Documented Class Library
Converts a list T of type Component to JSON representation.

Namespace: CTCT.Util
Assembly: CTCT (in CTCT.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax

public static string ToJSON<T>(
	this IList<T> list
)
where T : Component

Parameters

list
Type: System.Collections.Generic.IList<T>
The string list.
Type Parameters

T
Type of Component

Return Value

Returns the JSON representation of the list.

Usage Note

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