Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / Border Class / Deserialize Method
XmlNodeReader from which to load the object
Example


In This Topic
    Deserialize Method (Border)
    In This Topic
    Loads the object from XML.
    Syntax
    'Declaration
     
    
    Public Function Deserialize( _
       ByVal r As XmlNodeReader _
    ) As Boolean
    'Usage
     
    
    Dim instance As Border
    Dim r As XmlNodeReader
    Dim value As Boolean
     
    value = instance.Deserialize(r)
    public bool Deserialize( 
       XmlNodeReader r
    )

    Parameters

    r
    XmlNodeReader from which to load the object

    Return Value

    Boolean: true if successful; false otherwise
    Remarks
    This method deserializes the public properties and fields of the Border object.
    Example
    This example creates a new Appearance object, sets the BackColor, ForeColor, Font, HorizontalAlign and VerticalAlign properties, then applies those settings to an instance of a Cell object. In the click events of two buttons the object can be either deserialized or serialized. This code does the same thing as Serializer.SaveObject and Serializer.LoadObject, and works for any object that implements ISerializeSupport.
    See Also