Spread Windows Forms 15.0
FarPoint.Win Assembly / FarPoint.Win Namespace / Serializer Class / SerializeObjectInternal Method / SerializeObjectInternal(Object,String,XmlWriter,Boolean) Method
Object to serialize
Name of XML element
XmlTextWriter object to which to save
Whether to save version, culture and public key of assembly.


In This Topic
    SerializeObjectInternal(Object,String,XmlWriter,Boolean) Method
    In This Topic
    Serializes an object to XML using the ISerializeSupport interface.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function SerializeObjectInternal( _
       ByVal o As Object, _
       ByVal elementName As String, _
       ByVal w As XmlWriter, _
       ByVal saveVersion As Boolean _
    ) As Boolean
    'Usage
     
    
    Dim o As Object
    Dim elementName As String
    Dim w As XmlWriter
    Dim saveVersion As Boolean
    Dim value As Boolean
     
    value = Serializer.SerializeObjectInternal(o, elementName, w, saveVersion)
    public static bool SerializeObjectInternal( 
       object o,
       string elementName,
       XmlWriter w,
       bool saveVersion
    )

    Parameters

    o
    Object to serialize
    elementName
    Name of XML element
    w
    XmlTextWriter object to which to save
    saveVersion
    Whether to save version, culture and public key of assembly.
    See Also