Version

SerializeItems Method

Serializes the items into the specified string builder.
Syntax
'Declaration
 
Public Shared Function SerializeItems( _
   ByVal sb As StringBuilder, _
   ByVal name As String, _
   ByVal items As IEnumerable(Of IVisualData), _
   ByVal isFirst As Boolean _
) As Boolean
public static bool SerializeItems( 
   StringBuilder sb,
   string name,
   IEnumerable<IVisualData> items,
   bool isFirst
)

Parameters

sb
The string builder into which the item information should be added
name
The name of the property that returns the items
items
The collection of items to be serialized
isFirst
First if a leading comma isn't needed

Return Value

Returns true if the items were added to the string building; otherwise false is returned.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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