다음을 통해 공유


DomainClassXmlSerializer.WriteRootElement Method

Serializes the root model element instance associated with this serializer instance into XML.

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

Syntax

‘선언
Public Overridable Sub WriteRootElement ( _
    serializationContext As SerializationContext, _
    element As ModelElement, _
    writer As XmlWriter _
)
public virtual void WriteRootElement(
    SerializationContext serializationContext,
    ModelElement element,
    XmlWriter writer
)
public:
virtual void WriteRootElement(
    SerializationContext^ serializationContext, 
    ModelElement^ element, 
    XmlWriter^ writer
)
abstract WriteRootElement : 
        serializationContext:SerializationContext * 
        element:ModelElement * 
        writer:XmlWriter -> unit 
override WriteRootElement : 
        serializationContext:SerializationContext * 
        element:ModelElement * 
        writer:XmlWriter -> unit 
public function WriteRootElement(
    serializationContext : SerializationContext, 
    element : ModelElement, 
    writer : XmlWriter
)

Parameters

.NET Framework Security

See Also

Reference

DomainClassXmlSerializer Class

Microsoft.VisualStudio.Modeling Namespace