RelationshipHasRolesSerializer.WritePropertiesAsAttributes 方法

编写需要序列化为 XML 属性的所有属性。

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

语法

声明
Protected Overrides Sub WritePropertiesAsAttributes ( _
    serializationContext As SerializationContext, _
    element As ModelElement, _
    writer As XmlWriter _
)
protected override void WritePropertiesAsAttributes(
    SerializationContext serializationContext,
    ModelElement element,
    XmlWriter writer
)

参数

.NET Framework 安全性

请参见

参考

RelationshipHasRolesSerializer 类

Microsoft.VisualStudio.Modeling.DslDefinition 命名空间