Share via


DomainClassXmlSerializer.WritePropertiesAsAttributes Method

Write all properties that need to be serialized as XML attributes.

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

Syntax

'Declaration
Protected Overridable Sub WritePropertiesAsAttributes ( _
    serializationContext As SerializationContext, _
    element As ModelElement, _
    writer As XmlWriter _
)
protected virtual void WritePropertiesAsAttributes(
    SerializationContext serializationContext,
    ModelElement element,
    XmlWriter writer
)
protected:
virtual void WritePropertiesAsAttributes(
    SerializationContext^ serializationContext, 
    ModelElement^ element, 
    XmlWriter^ writer
)
abstract WritePropertiesAsAttributes : 
        serializationContext:SerializationContext * 
        element:ModelElement * 
        writer:XmlWriter -> unit 
override WritePropertiesAsAttributes : 
        serializationContext:SerializationContext * 
        element:ModelElement * 
        writer:XmlWriter -> unit 
protected function WritePropertiesAsAttributes(
    serializationContext : SerializationContext, 
    element : ModelElement, 
    writer : XmlWriter
)

Parameters

.NET Framework Security

See Also

Reference

DomainClassXmlSerializer Class

Microsoft.VisualStudio.Modeling Namespace