Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Model Namespace / Serializer Class / SerializeColor Method
Color object that contains 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 that contains the color
    elementName
    Name of XML element
    w
    XmlTextWriter
    See Also