Visual Basic (Declaration) | |
---|---|
Public Shared Sub SerializeEnum( _ ByVal value As Enum, _ ByVal elementName As String, _ ByVal w As XmlTextWriter _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim value As Enum Dim elementName As String Dim w As XmlTextWriter Serializer.SerializeEnum(value, elementName, w) |
C# | |
---|---|
public static void SerializeEnum( Enum value, string elementName, XmlTextWriter w ) |
Parameters
- value
- Enumeration setting to serialize
- elementName
- Name of XML element
- w
- XmlTextWriter
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