[]
Serializes an object to XML using the ISerializeSupport interface.
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
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 |
Type | Description |
---|---|
bool | true if successful; false otherwise |