Freigeben über


DomainClassXmlSerializer.Write-Methode (SerializationContext, ModelElement, XmlWriter, RootElementSettings)

Serialisiert die Modellelement-Instanz, die dieser Serialisierungsprogramm-Instanz zugeordnet ist, in XML.

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

Syntax

'Declaration
Public Overridable Sub Write ( _
    serializationContext As SerializationContext, _
    element As ModelElement, _
    writer As XmlWriter, _
    rootElementSettings As RootElementSettings _
)
public virtual void Write(
    SerializationContext serializationContext,
    ModelElement element,
    XmlWriter writer,
    RootElementSettings rootElementSettings
)

Parameter

.NET Framework-Sicherheit

Siehe auch

Referenz

DomainClassXmlSerializer Klasse

Write-Überladung

Microsoft.VisualStudio.Modeling-Namespace