DomainClassXmlSerializer.WriteElements Method
This methods serializes 1) properties serialized as nested XML elements and 2) child model elements into XML.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Dichiarazione
Protected Overridable Sub WriteElements ( _
serializationContext As SerializationContext, _
element As ModelElement, _
writer As XmlWriter _
)
protected virtual void WriteElements(
SerializationContext serializationContext,
ModelElement element,
XmlWriter writer
)
protected:
virtual void WriteElements(
SerializationContext^ serializationContext,
ModelElement^ element,
XmlWriter^ writer
)
abstract WriteElements :
serializationContext:SerializationContext *
element:ModelElement *
writer:XmlWriter -> unit
override WriteElements :
serializationContext:SerializationContext *
element:ModelElement *
writer:XmlWriter -> unit
protected function WriteElements(
serializationContext : SerializationContext,
element : ModelElement,
writer : XmlWriter
)
Parameters
- serializationContext
Type: Microsoft.VisualStudio.Modeling.SerializationContext
Serialization context.
- element
Type: Microsoft.VisualStudio.Modeling.ModelElement
The serialization context.
- writer
Type: System.Xml.XmlWriter
The 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.