Version

SerializeItem Method

Serializes the item into the specified string builder.
Syntax
'Declaration
 
Public Shared Function SerializeItem( _
   ByVal sb As StringBuilder, _
   ByVal name As String, _
   ByVal item As IVisualData, _
   ByVal isFirst As Boolean _
) As Boolean
public static bool SerializeItem( 
   StringBuilder sb,
   string name,
   IVisualData item,
   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
item
The item to be serialized
isFirst
First if a leading comma isn't needed

Return Value

Returns true if the item was 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 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