[]
        
(Showing Draft Content)

FarPoint.Win.Serializer.SerializeObject2

SerializeObject2 Method

SerializeObject2(object, string, XmlTextWriter, Assembly, Hashtable, object)

Serializes an object to XML using the ISerializeSupport interface.

Declaration
public static bool SerializeObject2(object o, string elementName, XmlTextWriter w, Assembly callingAssembly, Hashtable restrictedNamedStyled, object addedNamedStyles)
Public Shared Function SerializeObject2(o As Object, elementName As String, w As XmlTextWriter, callingAssembly As Assembly, restrictedNamedStyled As Hashtable, addedNamedStyles As Object) As Boolean
Parameters
Type Name Description
object o

Object to serialize

string elementName

Name of XML element

XmlTextWriter w

XmlTextWriter object to which to save

Assembly callingAssembly

Specifies the assembly containing the implementation of the object

Hashtable restrictedNamedStyled

object to which to save

object addedNamedStyles

Hashtable object to which to save

Returns
Type Description
bool

true if successful; false otherwise