Spread Windows Forms 15.0
FarPoint.Win Assembly / FarPoint.Win Namespace / Serializer Class / SerializeColor Method
Color object containing the color
Name of XML element
XmlTextWriter


In This Topic
    SerializeColor Method
    In This Topic
    Serializes a color to XML with the specified writer.
    Syntax
    'Declaration
     
    
    Public Shared Sub SerializeColor( _
       ByVal c As Color, _
       ByVal elementName As String, _
       ByVal w As XmlTextWriter _
    ) 
    'Usage
     
    
    Dim c As Color
    Dim elementName As String
    Dim w As XmlTextWriter
     
    Serializer.SerializeColor(c, elementName, w)
    public static void SerializeColor( 
       Color c,
       string elementName,
       XmlTextWriter w
    )

    Parameters

    c
    Color object containing the color
    elementName
    Name of XML element
    w
    XmlTextWriter
    See Also