Condividi tramite


DslLibraryHasDslLibraryImportsSerializer.WriteElements Method

This methods serializes 1) properties serialized as nested XML elements and 2) child model elements into XML.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)

Syntax

'Declaration
Protected Overrides Sub WriteElements ( _
    serializationContext As SerializationContext, _
    element As ModelElement, _
    writer As XmlWriter _
)
protected override void WriteElements(
    SerializationContext serializationContext,
    ModelElement element,
    XmlWriter writer
)
protected:
virtual void WriteElements(
    SerializationContext^ serializationContext, 
    ModelElement^ element, 
    XmlWriter^ writer
) override
abstract WriteElements : 
        serializationContext:SerializationContext * 
        element:ModelElement * 
        writer:XmlWriter -> unit  
override WriteElements : 
        serializationContext:SerializationContext * 
        element:ModelElement * 
        writer:XmlWriter -> unit
protected override function WriteElements(
    serializationContext : SerializationContext, 
    element : ModelElement, 
    writer : XmlWriter
)

Parameters

.NET Framework Security

See Also

Reference

DslLibraryHasDslLibraryImportsSerializer Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace