[]
        
Serializes an object using the ISerializeStyles2 interface.
public static bool SerializeStyles2(object o, string elementName, XmlTextWriter w, object nameStyleCollection)Public Shared Function SerializeStyles2(o As Object, elementName As String, w As XmlTextWriter, nameStyleCollection 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 | 
| object | nameStyleCollection | object to which to save | 
| Type | Description | 
|---|---|
| bool | true if successful; false otherwise |