Selerix Developer Tools
ListToXmlString Method






Selerix.Foundation Assembly > Selerix.Foundation.Data Namespace > Utils Class : ListToXmlString Method
The list.
Name of the root element.
Name of the item element.
Lists to XML string.
Syntax
'Declaration
 
Public Shared Function ListToXmlString( _
   ByVal list As IList, _
   ByVal rootElementName As String, _
   ByVal itemElementName As String _
) As String
'Usage
 
Dim list As IList
Dim rootElementName As String
Dim itemElementName As String
Dim value As String
 
value = Utils.ListToXmlString(list, rootElementName, itemElementName)
public static string ListToXmlString( 
   IList list,
   string rootElementName,
   string itemElementName
)
public function ListToXmlString( 
    list: IList;
    rootElementName: String;
    itemElementName: String
): String; static; 
public static function ListToXmlString( 
   list : IList,
   rootElementName : String,
   itemElementName : String
) : String;
public: static string* ListToXmlString( 
   IList* list,
   string* rootElementName,
   string* itemElementName
) 
public:
static String^ ListToXmlString( 
   IList^ list,
   String^ rootElementName,
   String^ itemElementName
) 

Parameters

list
The list.
rootElementName
Name of the root element.
itemElementName
Name of the item element.

Return Value

System.String.
See Also

Reference

Utils Class
Utils Members