DomainClassXmlSerializer.Write 方法 (SerializationContext, ModelElement, XmlWriter, RootElementSettings)

序列化模型元素实例与此序列化程序实例转换为 XML。

命名空间:  Microsoft.VisualStudio.Modeling
程序集:  Microsoft.VisualStudio.Modeling.Sdk.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.11.0.dll 中)

语法

声明
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
)

参数

.NET Framework 安全性

请参见

参考

DomainClassXmlSerializer 类

Write 重载

Microsoft.VisualStudio.Modeling 命名空间