DomainClassXmlSerializer.WriteAdditionalElementData Method
Write any additional element data associated with the element
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)
Syntax
'Declaration
Protected Overridable Sub WriteAdditionalElementData ( _
serializationContext As SerializationContext, _
element As ModelElement, _
writer As XmlWriter _
)
protected virtual void WriteAdditionalElementData(
SerializationContext serializationContext,
ModelElement element,
XmlWriter writer
)
protected:
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
protected function WriteAdditionalElementData(
serializationContext : SerializationContext,
element : ModelElement,
writer : XmlWriter
)
Parameters
serializationContext
Type: Microsoft.VisualStudio.Modeling.SerializationContextThe serialization context.
element
Type: Microsoft.VisualStudio.Modeling.ModelElementThe ModelElement instance that is currently being written.
writer
Type: XmlWriterThe XmlWriter to write serialized data to.
.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.