Spread Windows Forms 15.0
FarPoint.Win Assembly / FarPoint.Win Namespace / ISerializePresentation2 Interface / Serialize2 Method
XmlTextWriter object used to save the object
A set of restricted named styles.
A list of NamedStyle objects


In This Topic
    Serialize2 Method (ISerializePresentation2)
    In This Topic
    Save the object to XML.
    Syntax
    'Declaration
     
    
    Function Serialize2( _
       ByVal w As XmlTextWriter, _
       ByVal restrictedNameStyles As Hashtable, _
       ByVal nameStyles As Object _
    ) As Boolean
    'Usage
     
    
    Dim instance As ISerializePresentation2
    Dim w As XmlTextWriter
    Dim restrictedNameStyles As Hashtable
    Dim nameStyles As Object
    Dim value As Boolean
     
    value = instance.Serialize2(w, restrictedNameStyles, nameStyles)

    Parameters

    w
    XmlTextWriter object used to save the object
    restrictedNameStyles
    A set of restricted named styles.
    nameStyles
    A list of NamedStyle objects

    Return Value

    true if successful; false otherwise
    See Also