CoreDesignSurfaceSerializationHelperBase.WriteAdditionalElementData Method
Write any additional XML element data for the specified element
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.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
serializationContext
Type: Microsoft.VisualStudio.Modeling.SerializationContextThe current serialization context instance.
element
Type: Microsoft.VisualStudio.Modeling.ModelElementThe element whose attributes have just been written.
writer
Type: System.Xml.XmlWriterXmlWriter to write serialized data to.
Remarks
The additional data should be written as a series of one or more XML elements.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.