Spread Windows Forms 11.0 Product Documentation
SerializeIcon Method


FarPoint.Win Assembly > FarPoint.Win Namespace > Serializer Class : SerializeIcon Method
Icon object to serialize
Name of XML element
XmlTextWriter
Serializes an icon to XML as a base-64 encoded string to a specified element with the specified writer.
Syntax
'Declaration
 
Public Shared Sub SerializeIcon( _
   ByVal icon As Icon, _
   ByVal elementName As String, _
   ByVal w As XmlWriter _
) 
'Usage
 
Dim icon As Icon
Dim elementName As String
Dim w As XmlWriter
 
Serializer.SerializeIcon(icon, elementName, w)
public static void SerializeIcon( 
   Icon icon,
   string elementName,
   XmlWriter w
)

Parameters

icon
Icon object to serialize
elementName
Name of XML element
w
XmlTextWriter
See Also

Reference

Serializer Class
Serializer Members