Bagikan melalui


CoreDesignSurfaceSerializationHelperBase.WriteAdditionalElementData Method

Write any additional XML element data for the specified element

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Syntax

'Declaration
Protected Friend Overridable Sub WriteAdditionalElementData ( _
    serializationContext As SerializationContext, _
    element As ModelElement, _
    writer As XmlWriter _
)
protected internal virtual void WriteAdditionalElementData(
    SerializationContext serializationContext,
    ModelElement element,
    XmlWriter writer
)
protected public:
virtual void WriteAdditionalElementData(
    SerializationContext^ serializationContext, 
    ModelElement^ element, 
    XmlWriter^ writer
)
abstract WriteAdditionalElementData : 
        serializationContext:SerializationContext * 
        element:ModelElement * 
        writer:XmlWriter -> unit  
override WriteAdditionalElementData : 
        serializationContext:SerializationContext * 
        element:ModelElement * 
        writer:XmlWriter -> unit
function WriteAdditionalElementData(
    serializationContext : SerializationContext, 
    element : ModelElement, 
    writer : XmlWriter
)

Parameters

  • writer
    Type: XmlWriter

    XmlWriter to write serialized data to.

Remarks

The additional data should be written as a series of one or more XML elements.

.NET Framework Security

See Also

Reference

CoreDesignSurfaceSerializationHelperBase Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace