CoreDesignSurfaceSerializationHelperBase.WriteAdditionalElementData Method
Write any additional XML element data for the specified element
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣言
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.SerializationContext
The current serialization context instance.
- element
Type: Microsoft.VisualStudio.Modeling.ModelElement
The element whose attributes have just been written.
- writer
Type: System.Xml.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
- 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.