[]
        
Serializes an object to XML using the ISerializeSupport interface.
public static bool SerializeObject(object o, string elementName, XmlTextWriter w)
Public Shared Function SerializeObject(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; otherwise, false  | 
    
Serializes an object to XML using the ISerializeSupport interface.
public static bool SerializeObject(object o, string elementName, XmlTextWriter w, Assembly callingAssembly)
Public Shared Function SerializeObject(o As Object, elementName As String, w As XmlTextWriter, callingAssembly As Assembly) 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 that contains the implementation of the object  | 
    
| Type | Description | 
|---|---|
| bool | true if successful; otherwise, false  | 
    
Serializes an object to XML using the ISerializeSupport interface.
public static bool SerializeObject(object o, Type saveInterface, string elementName, XmlTextWriter w)
Public Shared Function SerializeObject(o As Object, saveInterface As Type, elementName As String, w As XmlTextWriter) As Boolean
| Type | Name | Description | 
|---|---|---|
| object | o | Object to serialize  | 
    
| Type | saveInterface | Serialization interface to use  | 
    
| string | elementName | Name of XML element  | 
    
| XmlTextWriter | w | XmlTextWriter object to which to save  | 
    
| Type | Description | 
|---|---|
| bool | true if successful; otherwise, false  | 
    
Serializes an object to XML using the ISerializeSupport interface.
public static bool SerializeObject(object o, Type saveInterface, string elementName, XmlTextWriter w, Assembly callingAssembly)
Public Shared Function SerializeObject(o As Object, saveInterface As Type, elementName As String, w As XmlTextWriter, callingAssembly As Assembly) As Boolean
| Type | Name | Description | 
|---|---|---|
| object | o | Object to serialize  | 
    
| Type | saveInterface | Serialization interface to use  | 
    
| string | elementName | Name of XML element  | 
    
| XmlTextWriter | w | XmlTextWriter object to which to save  | 
    
| Assembly | callingAssembly | Specifies the assembly that contains the implementation of the object  | 
    
| Type | Description | 
|---|---|
| bool | true if successful; otherwise, false  | 
    
Serializes an object to XML using the ISerializeSupport interface.
public static bool SerializeObject(object o, Type saveInterface, string elementName, XmlTextWriter w, Assembly callingAssembly, object[] args)
Public Shared Function SerializeObject(o As Object, saveInterface As Type, elementName As String, w As XmlTextWriter, callingAssembly As Assembly, args As Object()) As Boolean
| Type | Name | Description | 
|---|---|---|
| object | o | Object to serialize  | 
    
| Type | saveInterface | Serialization interface to use  | 
    
| string | elementName | Name of XML element  | 
    
| XmlTextWriter | w | XmlTextWriter object to which to save  | 
    
| Assembly | callingAssembly | Specifies the assembly that contains the implementation of the object  | 
    
| object[] | args | Arguments to pass to saveInterface.Serialize method (including w as first argument)  | 
    
| Type | Description | 
|---|---|
| bool | true if successful; otherwise, false  | 
    
Serializes an object to XML using the ISerializeSupport interface.
public static bool SerializeObject(object o, Type saveInterface, string elementName, XmlTextWriter w, Assembly callingAssembly, object[] args, bool saveType)
Public Shared Function SerializeObject(o As Object, saveInterface As Type, elementName As String, w As XmlTextWriter, callingAssembly As Assembly, args As Object(), saveType As Boolean) As Boolean
| Type | Name | Description | 
|---|---|---|
| object | o | Object to serialize  | 
    
| Type | saveInterface | Serialization interface to use  | 
    
| string | elementName | Name of XML element  | 
    
| XmlTextWriter | w | XmlTextWriter object to which to save  | 
    
| Assembly | callingAssembly | Specifies the assembly that contains the implementation of the object  | 
    
| object[] | args | Arguments to pass to saveInterface.Serialize method (including w as first argument)  | 
    
| bool | saveType | Whether to save  | 
    
| Type | Description | 
|---|---|
| bool | true if successful; otherwise, false  |