Partilhar via


Método DomainClassXmlSerializer.Write (SerializationContext, ModelElement, XmlWriter, RootElementSettings)

Serializa a instância de elemento de modelo associada a esta instância do serializador em XML.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (em Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

Sintaxe

'Declaração
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
)

Parâmetros

Segurança do .NET Framework

Consulte também

Referência

DomainClassXmlSerializer Classe

Sobrecargas Write

Namespace Microsoft.VisualStudio.Modeling