Visual Basic (Declaration) | |
---|---|
Public Overloads Shared Function GetObjectXml( _ ByVal o As ISerializeSupport2, _ ByVal elementName As String, _ ByVal callingAssembly As Assembly, _ ByVal saveType As Boolean _ ) As String |
Visual Basic (Usage) | Copy Code |
---|---|
Dim o As ISerializeSupport2 Dim elementName As String Dim callingAssembly As Assembly Dim saveType As Boolean Dim value As String value = Serializer.GetObjectXml(o, elementName, callingAssembly, saveType) |
C# | |
---|---|
public static string GetObjectXml( ISerializeSupport2 o, string elementName, Assembly callingAssembly, bool saveType ) |
Parameters
- o
- Object to serialize
- elementName
- Name of XML element
- callingAssembly
- Calling assembly
- saveType
- Whether to save the data type
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family