Serialize(Object,XmlTextWriter) Method
Saves the object to XML.
public static void Serialize(
object ,
XmlTextWriter
)
'Declaration
Public Overloads Shared Sub Serialize( _
ByVal As Object, _
ByVal As XmlTextWriter _
)
'Usage
Dim obj As Object
Dim w As XmlTextWriter
PSObject.Serialize(obj, w)
Parameters
- obj
- Object to save to XML
- w
- XmlTextWriter to which to write (save) the object