[]
Serializes an object using the ISerializePresentation2 interface.
public static bool SerializePresentation(object o, string elementName, XmlTextWriter w, Hashtable restrictedNamedStyles, object nameStyles)
Public Shared Function SerializePresentation(o As Object, elementName As String, w As XmlTextWriter, restrictedNamedStyles As Hashtable, nameStyles 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 |
| Hashtable | restrictedNamedStyles | Hashtable object to which to save |
| object | nameStyles | object to which to save |
| Type | Description |
|---|---|
| bool | true if successful; false otherwise |
Serializes an object using the ISerializePresentation interface.
public static bool SerializePresentation(object o, string elementName, XmlTextWriter w)
Public Shared Function SerializePresentation(o As Object, elementName As String, w As XmlTextWriter) As Boolean
| Type | Name | Description |
|---|---|---|
| object | o | Object to serialize |
| string | elementName | Name of XML element |
| XmlTextWriter | w | XmlTextWriter object to which to save |
| Type | Description |
|---|---|
| bool | true if successful; false otherwise |