ExtensionMethodsSerializeDataToXml Method |
Serializes the data produced by the serializers to the serializer using normal elements.
Namespace:
SD.LLBLGen.Pro.Core.Xml
Assembly:
SD.LLBLGen.Pro.Core (in SD.LLBLGen.Pro.Core.dll) Version: 5.7.0.0 (5.7.0)
Syntax public static void SerializeDataToXml(
this ISerializer serializer,
List<SerializationDefinition> serializationDefinitions,
string elementName
)
<ExtensionAttribute>
Public Shared Sub SerializeDataToXml (
serializer As ISerializer,
serializationDefinitions As List(Of SerializationDefinition),
elementName As String
)
Parameters
- serializer
- Type: SD.LLBLGen.Pro.CoreISerializer
The serializer. - serializationDefinitions
- Type: System.Collections.GenericListSerializationDefinition
The serialization definitions. - elementName
- Type: SystemString
Name of the element if the serializationdefinitions are targeting attributes.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
ISerializer. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also